Cargo Features
[dependencies]
potatonet = { version = "0.4.2", default-features = false, features = ["bus", "client", "codegen", "node"] }
- default = bus, client, codegen, node
-
These default features are set whenever
potatonet
is added without
somewhere in the dependency tree.default-features = false - bus default = potatonet-bus
-
Affects
potatonet::bus
… - client default = potatonet-client
-
Affects
potatonet::client
… - codegen default = potatonet-codegen
- node default = potatonet-node
-
Affects
potatonet::node
…
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.