influxdb/grpc-binary-logger
Dom Dwyer 928a4d163e
build: remove unused dependencies from crates
This commit fixes loads of crates (47!) had unused dependencies, or
mis-configured dependencies (test deps as normal deps).

I added the "unused_crate_dependencies" to all crates to help prevent
this mess from growing again!

    https://doc.rust-lang.org/beta/nightly-rustc/rustc_lint_defs/builtin/static.UNUSED_CRATE_DEPENDENCIES.html

This has the minor downside of false-positives when specifying
dev-dependencies for test/bench binaries - these are files in /test or
/benches (not normal tests). This commit includes a workaround,
importing them in lib.rs (gated by a feature flag). I think the
trade-off of better dependency management is worth it!
2023-05-23 14:55:43 +02:00
..
examples fix: Move variables within format strings. Thanks clippy! 2023-02-03 13:06:17 -05:00
src build: remove unused dependencies from crates 2023-05-23 14:55:43 +02:00
tests fix: Move variables within format strings. Thanks clippy! 2023-02-03 13:06:17 -05:00
Cargo.toml chore(deps): Bump pin-project from 1.0.12 to 1.1.0 2023-05-15 02:02:32 +00:00