Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions crates/remote-proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ prost-build.workspace = true
tonic-prost-build.workspace = true

[package.metadata.cargo-machete]
# These are consumed by the tonic/prost code generated into OUT_DIR and pulled
# in via `include!` in src/lib.rs, which cargo-machete's source scan cannot see.
ignored = ["prost", "prost-types", "tonic", "tonic-prost"]
# The runtime deps are consumed by the tonic/prost code generated into OUT_DIR
# and pulled in via `include!` in src/lib.rs, which cargo-machete's source scan
# cannot see. prost-build and tonic-prost-build are build-time codegen deps
# invoked from build.rs to compile the .proto files; cargo-machete's scan does
# not trace them either, so they are false positives too.
ignored = [
"prost",
"prost-types",
"tonic",
"tonic-prost",
"prost-build",
"tonic-prost-build",
]