Cargo Features

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

These default features are set whenever confidential_identity_v2 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 confidential_identity_core and curve25519-dalek-ng

confidential_identity_core:

Crypto

no_std = u64_backend

Enables no_std of confidential_identity_core

std default = criterion, serde_all

Enables std and std_rng of rand, std of blake2 and confidential_identity_core and std of rand_core, sp-io ^7.0.0, and sp-std ^5.0.0

sp-std:

Substrate

u64_backend default no_std?

Enables u64_backend of confidential_identity_core and curve25519-dalek-ng

avx2_backend

Enables simd of blake2, avx2_backend of confidential_identity_core and curve25519-dalek-ng

serde_all std = serde, serde_json

Enables serde_all of confidential_identity_core, 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.

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?
getrandom implicit feature

Enables getrandom

getrandom:

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

criterion std

Enables criterion ^0.3