Cargo Features

mc-sgx-dcap-types has no features set by default.

[dependencies]
mc-sgx-dcap-types = { version = "0.11.0", features = ["alloc", "tcb"] }
alloc tcb?

Enables x509-cert, alloc of serde

tcb = alloc

Enables x509-cert, const-oid and hex and alloc of serde

serde:

Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.

mc-sgx-dcap-types has 2 features without comments.