Cargo Features
[dependencies]
ctrlgen = { version = "0.3.2", default-features = false, features = ["std", "alloc", "tokio", "support", "serde", "flume"] }
- default = std, support
-
These default features are set whenever
ctrlgen
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
-
Affects
support::LocalRetval
,returnval::LocalRetval
… - tokio
-
Enables futures-lite ^1.12.0 and tokio
Affects
support::tokio
,support::promise
… - support default
-
Affects
ctrlgen::support
…
Features from optional dependencies
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- flume implicit feature
-
Enables flume ^0.10.13
flume:
A blazingly fast multi-producer channel
Affects
support::flume
…