Cargo Features

[dependencies]
umbral-pre = { version = "0.11.0", default-features = false, features = ["std", "bench-internals", "bindings-python", "bindings-wasm", "default-rng", "default-serialization", "serde"] }
default = default-rng

The default-rng feature is set by default whenever umbral-pre is added without default-features = false somewhere in the dependency tree.

std bindings-python?
bench-internals = default-rng

Affects umbral-pre::bench

bindings-python = default-serialization, derive_more, pyo3, std

Affects umbral-pre::bindings_python

bindings-wasm = default-serialization, derive_more, js-sys, wasm-bindgen, wasm-bindgen-derive

Enables js of getrandom

Affects umbral-pre::bindings_wasm

default-rng default bench-internals? = getrandom

Enables getrandom of rand_core

Affects pre::encrypt, pre::generate_kfrags, pre::reencrypt

default-serialization bindings-python? bindings-wasm? = rmp-serde, serde

Affects traits::DefaultSerialize, traits::DefaultDeserialize

serde default-serialization?

Enables serde

Affects umbral-pre::serde_bytes

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.

rmp-serde default-serialization?
pyo3 bindings-python?

Enables pyo3 ^0.18

js-sys bindings-wasm?
wasm-bindgen bindings-wasm?
derive_more bindings-python? bindings-wasm?

Enables derive_more ^0.99

wasm-bindgen-derive bindings-wasm?

Enables wasm-bindgen-derive ^0.2.0

getrandom bindings-wasm? default-rng