Cargo Features
[dependencies]
sonicd = { version = "0.6.0", default-features = false, features = ["nightly", "ws", "serde_codegen"] }
- default = serde_codegen
-
The
serde_codegen
feature is set by default wheneversonicd
is added without
somewhere in the dependency tree.default-features = false - nightly = serde_macros
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.
- ws implicit feature
-
Enables ws ^0.5.0
ws:
Lightweight, event-driven WebSockets for Rust
- serde_codegen build default
-
Enables serde_codegen ^0.8.2
- serde_macros nightly?