Cargo Features

[dependencies]
parsec-service = { version = "1.4.0", default-features = false, features = ["mbed-crypto-provider", "pkcs11-provider", "tpm-provider", "cryptoauthlib-provider", "trusted-service-provider", "all-providers", "direct-authenticator", "unix-peer-credentials-authenticator", "jwt-svid-authenticator", "all-authenticators"] }

The features should not be modified in a breaking way. See https://github.com/parallaxsecond/parsec/issues/408 for details.

default = unix-peer-credentials-authenticator

The unix-peer-credentials-authenticator feature is set by default whenever parsec-service is added without default-features = false somewhere in the dependency tree.

mbed-crypto-provider all-providers? = psa-crypto

Providers

Affects providers::mbed_crypto

pkcs11-provider all-providers? = cryptoki, hex, picky-asn1, picky-asn1-der, picky-asn1-x509, psa-crypto, rand

Affects providers::pkcs11

tpm-provider all-providers? = hex, picky-asn1, picky-asn1-der, picky-asn1-x509, tss-esapi

Affects providers::tpm

cryptoauthlib-provider = rust-cryptoauthlib

Affects providers::cryptoauthlib

trusted-service-provider all-providers? = bindgen, prost, prost-build, psa-crypto

Affects providers::trusted_service

all-providers = mbed-crypto-provider, pkcs11-provider, tpm-provider, trusted-service-provider
direct-authenticator all-authenticators?

Authenticators

Affects authenticators::direct_authenticator

unix-peer-credentials-authenticator default all-authenticators?

Affects authenticators::unix_peer_credentials_authenticator

jwt-svid-authenticator all-authenticators? = spiffe

Affects authenticators::jwt_svid_authenticator

all-authenticators = direct-authenticator, jwt-svid-authenticator, unix-peer-credentials-authenticator

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.

rand pkcs11-provider?
cryptoki pkcs11-provider?
picky-asn1-der pkcs11-provider? tpm-provider?
picky-asn1 pkcs11-provider? tpm-provider?
tss-esapi tpm-provider?
hex pkcs11-provider? tpm-provider?
psa-crypto mbed-crypto-provider? pkcs11-provider? trusted-service-provider?
picky-asn1-x509 pkcs11-provider? tpm-provider?
rust-cryptoauthlib cryptoauthlib-provider?
spiffe jwt-svid-authenticator?

Enables spiffe ^0.2.1

prost trusted-service-provider?

Enables prost ^0.9.0

bindgen build trusted-service-provider?

Enables bindgen ^0.66.1

prost-build build trusted-service-provider?

Enables prost-build ^0.9.0