Cargo Features

[dependencies]
nsm-nitro-enclave-utils = { version = "0.1.0", default-features = false, features = ["rand", "seed", "verify", "nitro", "pki"] }
default = nitro

The nitro feature is set by default whenever nsm-nitro-enclave-utils is added without default-features = false somewhere in the dependency tree.

rand

Enables rand

seed

Enables sha2

verify = p384, x509-cert

Enables rustls-webpki

Affects nsm-nitro-enclave-utils::verify

nitro default

Enables nix of aws-nitro-enclaves-nsm-api

Affects driver::nitro

pki = p384

Affects driver::dev

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.

x509-cert verify?
p384 pki? verify?