Cargo Features
[dependencies]
piny = { version = "0.1.1", default-features = false, features = ["polyphone", "swagger", "serde"] }
- default = polyphone, swagger
-
These default features are set whenever
piny
is added without
somewhere in the dependency tree.default-features = false - polyphone default
- swagger default = utoipa
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.
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- utoipa swagger
-
Enables utoipa ^2.4.2