Skip to content

cargo shows that tokio with the default feature depends on mio, which is incorrect. #14263

Open
@themighty1

Description

@themighty1

When running cargo tree on my project, mio is shown as a dependency of tokio with the default feature, which is incorrect, since mio is tokio's optional dependendy only for features net, process, signal (as per https://github.com/tokio-rs/tokio/blob/master/tokio/Cargo.toml)

To reproduce: (EDITED to reflect the recent dir reorg)

git clone https://github.com/tlsnotary/tlsn
cd tlsn
git checkout 68b9474015b817255c226fec38e80addd16191d1
cd components/tls/tls-mpc/
cargo tree -e normal,dev,features | grep mio -B10

you will see this
Screenshot from 2024-07-18 09-12-57

Metadata

Metadata

Assignees

Labels

C-bugCategory: bugCommand-treeS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or review

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions