Cargo Features
[dependencies]
countires = { version = "0.1.3", default-features = false, features = ["std", "alloc", "flags", "serde", "async-graphql"] }
- default = std
-
The
std
feature is set by default whenevercountires
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
- flags = bitflags
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.
- bitflags flags?
-
Enables bitflags ^1.3
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- async-graphql implicit feature
-
Enables async-graphql ^4
async-graphql:
A GraphQL server library implemented in Rust