Cargo Features

[dependencies]
confidential_identity_core = { version = "1.1.2", default-features = false, features = ["nightly", "u32_backend", "no_std", "std", "alloc", "u64_backend", "avx2_backend", "serde_all", "serde_bytes", "getrandom"] }
default = std, u64_backend

These default features are set whenever confidential_identity_core is added without default-features = false somewhere in the dependency tree.

nightly

Enables nightly of curve25519-dalek-ng

u32_backend

Backends

Enables u32_backend of curve25519-dalek-ng

no_std = u64_backend
std default = criterion, serde_all

Enables std and std_rng of rand, std of bulletproofs ^4.0.0 and parity-scale-codec and std of rand_core and sp-std ^5.0.0

sp-std:

Substrate

alloc

Enables curve25519-dalek-ng and alloc of rand and rand_core

rand:

Option: "alloc" enables support for Vec and Box when not using "std"

u64_backend default no_std?

Enables u64_backend of curve25519-dalek-ng

curve25519-dalek-ng:

The u64 backend uses u64s with u128 products.

avx2_backend

Enables avx2_backend of bulletproofs ^4.0.0 and curve25519-dalek-ng

curve25519-dalek-ng:

DEPRECATED: this is now an alias for simd_backend and may be removed in some future release.

serde_all std = serde

Enables serde of curve25519-dalek-ng

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.

serde serde_all?

Enables serde

Common

serde_bytes implicit feature

Enables serde_bytes

serde_bytes:

Optimized handling of &[u8] and Vec<u8> for Serde

getrandom implicit feature

Enables getrandom

getrandom:

A small cross-platform library for retrieving random data from system source

criterion std

Enables criterion ^0.3