Cargo Features

[dependencies]
unknown_order = { version = "0.8.0", default-features = false, features = ["crypto", "gmp", "openssl", "rust", "wasm"] }
default = crypto

The crypto feature is set by default whenever unknown_order is added without default-features = false somewhere in the dependency tree.

crypto default = crypto-primes, hex, multibase, num-traits

Enables serde of crypto-bigint

gmp = hex, num-traits

Enables rand and num-traits of rug

rug:

experimental features

openssl

Enables openssl

rust = glass_pumpkin, num-bigint, num-integer, num-traits

Enables rand

wasm = getrandom, serde-wasm-bindgen, wasm-bindgen

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.

crypto-bigint crypto
crypto-primes crypto
getrandom wasm?
glass_pumpkin rust?
hex crypto gmp?
multibase crypto
num-bigint rust?
num-integer rust?
num-traits crypto gmp? rust?
rug gmp?
wasm-bindgen wasm?
serde-wasm-bindgen wasm?