Cargo Features
[dependencies]
process-lib = { version = "1.0.0", default-features = false, features = ["tokio", "async-std", "derive"] }
- default = tokio
-
The
tokio
feature is set by default wheneverprocess-lib
is added without
somewhere in the dependency tree.default-features = false - tokio default
-
Async runtime
Enables tokio
- async-std
-
Enables async-std
- derive
-
Serde (de)serialization
Enables serde