Cargo Features

[dependencies]
oberon = { version = "2.2.1", default-features = false, features = ["std", "alloc", "ffi", "php", "python", "rust", "wasm"] }
default = rust

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

std ffi? php? python? wasm? = blstrs_plus

Enables std of digest and sha3

alloc

Enables alloc of bls12_381_plus and digest

ffi = ffi-support, lazy_static, std

Enables rand

php = ext-php-rs, std

Enables rand

python = pyo3, std

Enables rand

rust default = bls12_381_plus
wasm = getrandom, serde_json, std, wasm-bindgen

Enables rand

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.

bls12_381_plus alloc? rust
blstrs_plus std?
ext-php-rs php?

Enables ext-php-rs ^0.10.0

ffi-support ffi?
getrandom wasm?
lazy_static ffi?
pyo3 python?

Enables pyo3 ^0.19

rand ffi? php? python? wasm?
serde_json wasm?
wasm-bindgen wasm?