Cargo Features

[dependencies]
unknown_order = { version = "0.11.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

Affects gcd_result::GcdResult

gmp = hex, num-traits

Enables rand, num-traits of rug

Affects gcd_result::GcdResult

openssl

Enables openssl and rand

Affects gcd_result::GcdResult

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

Enables rand

Affects gcd_result::GcdResult

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?