# 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 = "2018" rust-version = "1.66.0" name = "parsec-service" version = "1.4.1" authors = ["Parsec Project Contributors"] description = "A language-agnostic API to secure services in a platform-agnostic way" readme = "README.md" keywords = [ "security", "service", ] categories = [ "cryptography", "hardware-support", ] license = "Apache-2.0" repository = "https://github.com/parallaxsecond/parsec" [package.metadata.docs.rs] features = [ "pkcs11-provider", "tpm-provider", "mbed-crypto-provider", "cryptoauthlib-provider", "direct-authenticator", ] [[bin]] name = "parsec" path = "src/bin/main.rs" [dependencies.anyhow] version = "1.0.38" [dependencies.base64] version = "0.21.0" [dependencies.bincode] version = "1.3.1" [dependencies.clap] version = "=4.3.24" features = [ "derive", "std", ] [dependencies.cryptoki] version = "0.6.0" optional = true default-features = false [dependencies.derivative] version = "2.2.0" [dependencies.env_logger] version = "0.10.0" [dependencies.hex] version = "0.4.2" optional = true [dependencies.libc] version = "0.2.86" [dependencies.log] version = "0.4.14" features = ["serde"] [dependencies.num-traits] version = "0.2.14" [dependencies.parsec-interface] version = "0.29.1" [dependencies.picky-asn1] version = "0.8.0" optional = true [dependencies.picky-asn1-der] version = "0.4.0" optional = true [dependencies.picky-asn1-x509] version = "0.12.0" optional = true [dependencies.prost] version = "0.9.0" optional = true [dependencies.psa-crypto] version = "0.12.0" features = [ "operations", "std", ] optional = true default-features = false [dependencies.rand] version = "0.8.3" features = ["small_rng"] optional = true [dependencies.rusqlite] version = "0.29.0" features = ["bundled"] [dependencies.rust-cryptoauthlib] version = "0.4.5" optional = true [dependencies.sd-notify] version = "0.4.1" [dependencies.serde] version = "1.0.123" features = ["derive"] [dependencies.signal-hook] version = "0.3.4" [dependencies.spiffe] version = "0.2.1" optional = true [dependencies.threadpool] version = "1.8.1" [dependencies.toml] version = "0.8.0" [dependencies.tss-esapi] version = "7.5.0" optional = true [dependencies.zeroize] version = "1.2.0" features = ["zeroize_derive"] [dev-dependencies.rand] version = "0.8.3" features = ["small_rng"] [dev-dependencies.rust-cryptoauthlib] version = "0.4.4" features = ["software-backend"] [build-dependencies.bindgen] version = "0.66.1" optional = true [build-dependencies.prost-build] version = "0.9.0" optional = true [features] all-authenticators = [ "direct-authenticator", "unix-peer-credentials-authenticator", "jwt-svid-authenticator", ] all-providers = [ "tpm-provider", "pkcs11-provider", "mbed-crypto-provider", "trusted-service-provider", ] cryptoauthlib-provider = ["rust-cryptoauthlib"] default = ["unix-peer-credentials-authenticator"] direct-authenticator = [] jwt-svid-authenticator = ["spiffe"] mbed-crypto-provider = ["psa-crypto"] pkcs11-provider = [ "cryptoki", "picky-asn1-der", "picky-asn1", "picky-asn1-x509", "psa-crypto", "rand", "hex", ] tpm-provider = [ "tss-esapi", "picky-asn1-der", "picky-asn1", "picky-asn1-x509", "hex", ] trusted-service-provider = [ "psa-crypto", "bindgen", "prost-build", "prost", ] unix-peer-credentials-authenticator = []