Cargo Features

tor-llcrypto has no features set by default.

[dependencies]
tor-llcrypto = { version = "0.18.0", features = ["full", "with-openssl", "with-sha1-asm", "experimental", "relay", "hsv3-client", "hsv3-service", "keymgr", "cvt-x25519"] }
full

Enables full of safelog

with-openssl = cipher, openssl, typenum

Affects cipher::aes

with-sha1-asm

Enables asm of sha1

experimental = hsv3-client, hsv3-service, keymgr, relay
relay experimental? = cvt-x25519

Enable support for cryptography needed to be a Tor relay.

hsv3-client experimental?

Enable support for cryptography needed to be an onion service v3 client.

Affects keymanip::blind_pubkey

hsv3-service experimental?

Enable support for cryptography needed to be an onion service v3 service.

Affects keymanip::blind_keypair

keymgr experimental? = cvt-x25519

Enable support for cryptography needed for key management.

cvt-x25519 keymgr? relay?

Enable extra support for converting keys to and from x25519

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.

cipher with-openssl?
openssl with-openssl?
typenum with-openssl?