Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Reduce the number of tokio-* dependencies #93

Closed
tomtau opened this issue Oct 7, 2019 · 0 comments · Fixed by #94
Closed

Reduce the number of tokio-* dependencies #93

tomtau opened this issue Oct 7, 2019 · 0 comments · Fixed by #94

Comments

@tomtau
Copy link
Contributor

tomtau commented Oct 7, 2019

The default features of the tokio crate bring quite a few tokio-* crates that are most likely unused (e.g. tokio-fs). It'll be good to reduce the number of these crates with a more explicit dependency in Cargo.toml:

tokio = { version = "0.1", default-features = false, features = ["codec", ....] }

where in features, one would only list the used / needed features of tokio.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant