Cargo Features

[dependencies]
tdx-quote = { version = "0.0.3", default-features = false, features = ["mock", "pck"] }
default = pck

The pck feature is set by default whenever tdx-quote is added without default-features = false somewhere in the dependency tree.

mock

Generate mock quotes for testing attestation code on non-TDX hardware

pck default = pem, spki, x509-verify

Parse and verify PCK certificate chains

Affects tdx-quote::pck

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-verify pck
spki pck
pem pck