Open themighty1 opened 1 month ago
I think the default
here refers to the default
of package(tlsn-utils-aio
) that enables tokio
.
@eth3lbert , are you suggesting that tokio feature "default"
means something else other than the default
feature of the tokio
crate?
I don't think that's how cargo tree
works. It only shows the enabled features of this dependency, i.e. of the dependency mentioned on the same line as the feature.
Or amiwrong?
You could try using inverse mode with cargo tree -e features -p mio -i
. This might make more sense to you.
@eth3lbert There is something definitely wrong in the tree output. For example, the "tokio feature "net"
edge is completely missing. All optional dependencies should have a feature edge to them to explain why they are enabled. I don't know what is going wrong, it will take some investigation why the feature edges are missing.
@rustbot claim
I will take a look.
When running
cargo tree
on my project,mio
is shown as a dependency oftokio
with thedefault
feature, which is incorrect, sincemio
istokio
's optional dependendy only for featuresnet
,process
,signal
(as per https://github.com/tokio-rs/tokio/blob/master/tokio/Cargo.toml)To reproduce: (EDITED to reflect the recent dir reorg)
you will see this