Cargo Features
[dependencies]
torut = { version = "0.2.1", default-features = false, features = ["serialize", "control", "v3"] }
- default = control, serialize, v3
-
These default features are set whenever
torut
is added without
somewhere in the dependency tree.default-features = false - serialize default = base32, base64, serde, serde_derive
- control default = hex, hmac, rand, sha2, tokio
-
Affects
fuzz::fuzz_conn_parse_response
,fuzz::fuzz_unauthenticated_conn_parse_protocol_info
,torut::control
… - v3 default = base32, base64, ed25519-dalek, rand, sha3
-
Affects
fuzz::fuzz_deserialize_onion_address_v3_from_text
…
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 serialize
- serde_derive serialize
- sha3 v3
-
Enables sha3 ^0.9
for onion service v3 signature
- sha2 control
-
Enables sha2 ^0.9
for ed25519-dalek key
- hmac control
-
Enables hmac ^0.11
for authentication with tor controller
- ed25519-dalek v3
-
Enables ed25519-dalek ^1
- rand control v3
-
Enables rand ^0.7
- base32 serialize v3
-
Enables base32 ^0.4
- base64 serialize v3
-
Enables base64 ^0.13
- hex control
- tokio control