# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "nsm-nitro-enclave-utils" version = "0.1.0" authors = ["Tanner Gill "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "nsm-nitro-enclave-utils simplifies development for AWS Nitro Enclaves by enabling the reading and verifying of mocked attestation documents while in local development environments. Once your ready to go to production, it can do the same with authentic, AWS-signed, attestation documents. With WebAssembly support and a familiar API, it offers seamless integration across development and production environments." readme = "README.md" keywords = [ "aws", "nitro", "enclave", ] categories = [ "emulators", "development-tools", "wasm", ] license = "MPL-2.0" repository = "https://github.com/tannaurus/nsm-nitro-enclave-utils/" [lib] name = "nsm_nitro_enclave_utils" path = "src/lib.rs" [dependencies.aws-nitro-enclaves-nsm-api] version = "0.4.0" default-features = false [dependencies.coset] version = "0.3" features = ["std"] [dependencies.hex] version = "0.4" [dependencies.p384] version = "0.13" optional = true [dependencies.rand] version = "0.8" optional = true [dependencies.rustls-webpki] version = "0.102" features = ["ring"] optional = true [dependencies.sealed] version = "0.6" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_bytes] version = "0.11" [dependencies.serde_json] version = "1" [dependencies.sha2] version = "0.10" optional = true [dependencies.x509-cert] version = "0.2" features = ["builder"] optional = true [dev-dependencies.p384] version = "0.13" [dev-dependencies.rand] version = "0.8" [dev-dependencies.sha2] version = "0.10" features = ["oid"] [dev-dependencies.wasm-bindgen-test] version = "0.3" [features] default = ["nitro"] nitro = ["aws-nitro-enclaves-nsm-api/nix"] pki = ["p384"] rand = ["dep:rand"] seed = ["dep:sha2"] verify = [ "dep:rustls-webpki", "x509-cert", "p384", ] [target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.ring] version = "0.17" features = ["wasm32_unknown_unknown_js"]