Cargo Features

[dependencies]
dcap-ql = { version = "0.4.0", 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. These features may have been created by mistake, and this functionality may be removed in the future.

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

Enables libc

MIT/Apache-2.0

mbedtls verify?
num verify?

Enables num ^0.2

serde implicit feature

Enables serde

MIT/Apache-2.0

yasna verify?

Enables yasna ^0.3