Cargo Features
[dependencies]
cj_ascii = { version = "0.2.0", default-features = false, features = ["serialize", "async"] }
- default = async
-
The
async
feature is set by default whenevercj_ascii
is added without
somewhere in the dependency tree.default-features = false - serialize = serde
- async default = futures
-
Affects
cj_ascii::ascii_stream_async
…
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.
strip = true # minor performance boost(if any), but mostly makes the binary smaller