Showing the changes to git-protocol/src (1 of 1 file). Show all
Unified · Split
| @@ -4,7 +4,13 @@ · 3 unmodified lines | |||
| 4 | //! the actual client implementation. | 4 | //! the actual client implementation. |
| 5 | #![deny(unsafe_code)] | 5 | #![deny(unsafe_code)] |
| 6 | #![deny(rust_2018_idioms, missing_docs)] | 6 | #![deny(rust_2018_idioms, missing_docs)] |
| 7 | #![cfg_attr(feature = "async-client", allow(dead_code))] // TODO: remove this and assure this holds at when done. | 7 | #![cfg_attr( |
| 8 | any( | ||
| 9 | feature = "async-client", | ||
| 10 | all(not(feature = "blocking-client"), not(feature = "async-client")) | ||
| 11 | ), | ||
| 12 | allow(dead_code) | ||
| 13 | )] // TODO: remove this and assure this holds at when done. | ||
| 8 | 14 | ||
| 9 | /// A convenience export allowing users of git-protocol to use the transport layer without their own cargo dependency. | 15 | /// A convenience export allowing users of git-protocol to use the transport layer without their own cargo dependency. |
| 10 | pub use git_transport as transport; | 16 | pub use git_transport as transport; |