Cargo Features

[dependencies]
trussed = { version = "0.1.0", default-features = false, features = ["verbose-tests", "verbose-lfs", "log-warn", "log-error", "default-mechanisms", "ed255", "x255", "hmac-blake2s", "hmac-sha256", "hmac-sha512", "sha256", "tdes", "trng", "clients-1", "clients-5", "clients-9", "clients-12", "test-attestation-cert-ids"] }
default = clients-1, default-mechanisms

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

verbose-tests

Enables ll-assertions of littlefs2 ^0.3.1

littlefs2:

enable assertions in backend C code

verbose-lfs

Enables ll-assertions and ll-trace of littlefs2 ^0.3.1

log-all log-none log-info log-debug log-warn
log-error
default-mechanisms default = aes256-cbc, chacha8-poly1305, ed255, hmac-sha1, hmac-sha256, p256, sha256, tdes, totp, trng, x255
aes256-cbc chacha8-poly1305 ed255 default-mechanisms
x255 default-mechanisms
hmac-blake2s = blake2
hmac-sha1 hmac-sha256 default-mechanisms
hmac-sha512
p256 sha256 default-mechanisms
tdes default-mechanisms = des
totp trng default-mechanisms = sha-1
clients-1 default
clients-2 clients-3 clients-4 clients-5
clients-6 clients-7 clients-8 clients-9
clients-10 clients-11 clients-12
test-attestation-cert-ids

Affects attest::ED255_ATTN_KEY, attest::P256_ATTN_KEY

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.

blake2 hmac-blake2s?

Enables blake2 ^0.9

des tdes?

Enables des ^0.7

sha-1 totp? trng?

Enables sha-1 ^0.9