GitHub user sadikovi opened a pull request: https://github.com/apache/thrift/pull/1360
THRIFT-4330: Allow unused extern crates This PR adds attribute to the Rust generated code to allow unused crates, since some libraries may not use imports and generate warnings. ``` #![allow(unused_extern_crates)] ``` You can merge this pull request into a Git repository by running: $ git pull https://github.com/sadikovi/thrift THRIFT-4330 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/1360.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1360 ---- commit 54b12d274616f819a90e16d188f1431260e0ed50 Author: Ivan Sadikov <ivan.sadi...@team.telstra.com> Date: 2017-09-15T05:09:08Z THRIFT-4330: allow unused extern crates ---- ---