Cargo Features

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

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

nightly

Enables nightly of curve25519-dalek-ng

wasm = sp-core-hashing
u32_backend

Backends

Enables u32_backend of curve25519-dalek-ng and schnorrkel ^0.10

no_std = u64_backend
std default = criterion, serde_all

Enables std of blake2, std and std_rng of rand and std of rand_chacha, rand_core, schnorrkel ^0.10, sp-io ^7.0.0, and sp-std ^5.0.0

sp-std:

Substrate

u64_backend default no_std?

Enables u64_backend of curve25519-dalek-ng and schnorrkel ^0.10

curve25519-dalek-ng:

The u64 backend uses u64s with u128 products.

avx2_backend

Enables simd of blake2 and avx2_backend of curve25519-dalek-ng and schnorrkel ^0.10

curve25519-dalek-ng:

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

serde_all std = serde, serde_json

Enables serde of curve25519-dalek-ng and schnorrkel ^0.10

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.

sp-core-hashing wasm?

Enables sp-core-hashing ^5.0.0

sp-io std

Enables sp-io ^7.0.0

serde serde_all?

Enables serde

Common

serde_json serde_all?
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