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 wheneverdcap-ql
is added without
somewhere in the dependency tree.default-features = false - 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.
- link = bindings
-
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?
-
Enables mbedtls ^0.12
- num verify?
-
Enables num ^0.2
- serde implicit feature
-
Enables serde
MIT/Apache-2.0
- yasna verify?
-
Enables yasna ^0.3