Cargo Features
[dependencies]
feeless = { version = "0.1.11", default-features = false, features = ["full", "node", "wallet", "pcap"] }
- default = full
-
The
full
feature is set by default wheneverfeeless
is added without
somewhere in the dependency tree.default-features = false - full default = node, pcap, wallet
- node full pcap? = sled
- wallet full
-
Affects
feeless::wallet
… - pcap full = etherparse, node, pcarp
-
pcap needs node for all the messages. This could be moved outside of node in the future.
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.
- sled node?
-
Enables sled
node only
- pcarp pcap?
-
Enables pcarp ^1.2.0
pcap only
- etherparse pcap?
-
Enables etherparse ^0.9.0