[package] name = "dcap-qvl" version = "0.1.5" edition = "2021" license = "MIT" description = "This crate implements the quote verification logic for DCAP (Data Center Attestation Primitives) in pure Rust." authors = ["Kevin Wang "] [dependencies] hex = { version = "0.4", default-features = false, features = ["alloc"] } serde = { version = "1", default-features = false, features = ["derive"] } base64 = { version = "0.21", default-features = false, features = ["alloc"] } scale = { package = "parity-scale-codec", version = "3.6.5", default-features = false, features = [ "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } chrono = { version = "0.4.31", default-features = false, features = [ "alloc", "serde", ] } const-oid = { version = "0.9.5", default-features = false } x509-cert = { version = "0.2.4", default-features = false } byteorder = { version = "1.5.0", default-features = false } pem = { version = "3", default-features = false } asn1_der = { version = "0.7", default-features = false, features = [ "native_types", ] } der = { version = "0.7.8", default-features = false, features = ["alloc"] } log = { version = "0.4.20", default-features = false } anyhow = { version = "1", optional = true } ring = { version = "0.17", default-features = false, features = [ "alloc", ] } reqwest = { version = "0.11.27", optional = true, default-features = false, features = [ "rustls-tls", "blocking", "hickory-dns", ] } urlencoding = { version = "2", optional = true } serde_json = { version = "1.0.108", optional = true, features = [ "preserve_order", ] } tracing = { version = "0.1", optional = true } futures = { version = "0.3", optional = true } getrandom = { version = "0.2", optional = true, features = ["js"] } serde-wasm-bindgen = { version = "0.4", optional = true} wasm-bindgen = { version = "0.2.95", optional = true } serde_bytes = { version = "0.11" } [dependencies.webpki] version = "0.102.8" package = "rustls-webpki" default-features = false features = ["alloc", "ring"] [dev-dependencies] insta = "1" tokio = { version = "1", features = ["full"] } [lib] crate-type = ["cdylib", "rlib"] [features] default = ["std", "report"] std = [ "serde/std", "scale/std", "scale-info/std", "ring/std", "webpki/std", "const-oid/std", "pem/std", "asn1_der/std", "der/std", "serde_json", "anyhow", "reqwest", "urlencoding", ] report = ["std", "tracing", "futures"] js = ["ring/wasm32_unknown_unknown_js", "getrandom", "serde-wasm-bindgen", "wasm-bindgen"] hex-bytes = []