Cargo Features
[dependencies]
ttrpc = { version = "0.8.2", default-features = false, features = ["async", "sync"] }
- default = sync
-
The
sync
feature is set by default wheneverttrpc
is added without
somewhere in the dependency tree.default-features = false - async = async-trait, futures, tokio, tokio-vsock
- sync default
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.
- async-trait async?
- tokio async?
- futures async?
- tokio-vsock linux android async?
-
Enables tokio-vsock ^0.4.0