Cargo Features

dcap-ql = { version = "0.3.7", default-features = false, features = ["bindings", "link", "test-sgx-flc", "verify", "serde"] }
default = bindings

The bindings feature is set by default whenever dcap-ql is added without default-features = false somewhere in the dependency tree.

bindings default link? test-sgx-flc? = dcap-ql-sys, libc, sgxs-loaders

If set, will provide bindings to libsgx_dcap_ql. Otherwise, you just get the DCAP types.

If set, will link to libsgx_dcap_ql. Otherwise, will use the dynamic loader to access the library at runtime.

Enables link of dcap-ql-sys

Project dependencies

test-sgx-flc = bindings

Enable tests that can only be run on an SGX-enabled environment with FLC

verify = mbedtls, num, yasna

Add the ability to verify quotes

Affects quote::Quote3SignatureEcdsaP256Verifier, quote::Quote3SignatureVerify

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

dcap-ql-sys bindings link?
sgxs-loaders bindings
libc bindings

Enables libc


mbedtls verify?

Enables mbedtls >=0.8.0, <0.10.0

num verify?

Enables num ^0.2

serde implicit feature

Enables serde


yasna verify?

Enables yasna ^0.3