Cargo Features

[dependencies]
dcap-qvl = { version = "0.1.6", default-features = false, features = ["std", "report", "js", "hex-bytes"] }
default = report, std

These default features are set whenever dcap-qvl is added without default-features = false somewhere in the dependency tree.

std default report = anyhow, reqwest, serde_json, urlencoding

Enables std of asn1_der, const-oid, der, pem, ring, parity-scale-codec, scale-info, serde, and rustls-webpki

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

report default = futures, std, tracing

Affects dcap-qvl::collateral

js = getrandom, serde-wasm-bindgen, wasm-bindgen

Enables wasm32_unknown_unknown_js of ring

Affects verify::js_verify

hex-bytes

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.

anyhow std
reqwest std

Enables reqwest ^0.11.27

urlencoding std
serde_json std
tracing report
futures report
getrandom js?
serde-wasm-bindgen js?

Enables serde-wasm-bindgen ^0.4

wasm-bindgen js?