Cargo Features

[dependencies]
aws-nitro-enclaves-cose = { version = "0.5.2", default-features = false, features = ["key_openssl_pkey", "key_tpm", "key_kms"] }
default = key_openssl_pkey

The key_openssl_pkey feature is set by default whenever aws-nitro-enclaves-cose is added without default-features = false somewhere in the dependency tree.

key_openssl_pkey default key_kms? = openssl
key_tpm = openssl, tss-esapi

Affects crypto::tpm

key_kms = aws-sdk-kms, key_openssl_pkey, tokio

Affects crypto::kms

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.

openssl key_openssl_pkey key_tpm?
tss-esapi key_tpm?
aws-sdk-kms key_kms?

Enables aws-sdk-kms <=1.20

tokio key_kms?