Cargo Features
[dependencies]
tokio-socks = { version = "0.5.2", default-features = false, features = ["tor", "futures-io", "tokio"] }
- default = tokio
-
The
tokio
feature is set by default whenevertokio-socks
is added without
somewhere in the dependency tree.default-features = false - tor
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- futures-io implicit feature
-
Enables futures-io
futures-io:
The
AsyncRead
,AsyncWrite
,AsyncSeek
, andAsyncBufRead
traits for the futures-rs library - tokio default