I was wondering why cargo deny
warns about Windows stuff, even though Iโm on Linux. I found this comes from Cargo.lock
indifferently listing unconfigured (and build) dependencies:
[[package]]
name = "stacker"
version = "0.1.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c886bd4480155fd3ef527d45e9ac8dd7118a898a46530b7b94c3e21866259fce"
dependencies = [
"cc",
"cfg-if",
"libc",
"psm",
"winapi",
]
[[package]]
name = "winapi"
version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
dependencies = [
"winapi-i686-pc-windows-gnu",
"winapi-x86_64-pc-windows-gnu",
]
[[package]]
name = "winapi-i686-pc-windows-gnu"
โฆ
This comes from
โฆ
[dependencies.psm]
version = "0.1.7"
[build-dependencies.cc]
version = "1.0.2"
[target."cfg(windows)".dependencies.winapi]
version = "0.3.6"
features = [โฆ
cargo tree
shows what I suppose is really going on
โโโ lettre v0.11.7
โ โโโ chumsky v0.9.3
โ โ โโโ โฆ
โ โ โโโ stacker v0.1.15
โ โ โโโ cfg-if v1.0.0
โ โ โโโ libc v0.2.155
โ โ โโโ psm v0.1.21
โ โ [build-dependencies]
โ โ โโโ cc v1.0.99
โ โ [build-dependencies]
โ โ โโโ cc v1.0.99
โ โโโ โฆ
Whoโs right? I hope the last output. But then why does Cargo.lock
have so much stuff which is not even in my build?