Cargo Features

concordium_base has no features set by default.

[dependencies]
concordium_base = { version = "5.0.0", features = ["ffi", "encryption", "internal-test-helpers"] }
ffi = rand_chacha
encryption = aes, base64, cbc, hmac, pbkdf2

Affects common::encryption

internal-test-helpers

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.

cbc encryption?

Enables cbc

Dependencies needed by the encryption feature.

aes encryption?
base64 encryption?

Enables base64 ^0.21

pbkdf2 encryption?

Enables pbkdf2 ^0.11

hmac encryption?
rand_chacha ffi?

Enables rand_chacha

Dependencies needed by the ffi feature.