Cargo Features
[dependencies]
magic-wormhole = { version = "0.7.3", default-features = false, features = ["entropy", "all", "transfer", "transit", "forwarding", "tls", "native-tls", "experimental-transfer-v2", "experimental", "fuzzy-complete"] }
- entropy = zxcvbn
-
Check the entropy of custom codes. Will fail for any weak passwords.
Affects
core::Nameplate
,core::Code
… - default all? = transfer, transit
-
These default features are set whenever
magic-wormhole
is added without
somewhere in the dependency tree.default-features = false - all = default, forwarding, fuzzy-complete
- transfer default = transit
-
rmp-serde:
Transfer dependencies
Affects
test::test_file_rust2rust_deprecated
,test::test_file_rust2rust
,test::test_send_many
,magic-wormhole::transfer
,magic-wormhole::uri
… - transit default forwarding? transfer
-
Enables async-trait, bytecodec, if-addrs, noise-protocol, noise-rust-crypto, socket2, and stun_codec
stun_codec:
Transit dependencies
Affects
magic-wormhole::transit
… - forwarding all? = transit
-
Enables rmp-serde
Affects
magic-wormhole::forwarding
… - tls
-
TLS implementations for websocket connections via async-tungstenite required for optional wss connection to the mailbox server
Enables async-tls of async-tungstenite
- native-tls
-
Enables async-native-tls of async-tungstenite
- experimental-transfer-v2 experimental?
-
Enable experimental transfer-v2 support. The protocol is not yet finalized and is subject to change.
By enabling this option you are opting out of semver stability.Affects
cancel::handle_run_result_transit
,transfer::AppVersionTransferV2Hint
,transfer::request
,transfer::ReceiveRequest
… - experimental = experimental-transfer-v2
- fuzzy-complete all? = fuzzt
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.