# 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" rust-version = "1.69" name = "product-os-security" version = "0.0.28" authors = ["Jeremy de Oliveira-Kumar "] build = false exclude = [] include = [] autobins = true autoexamples = true autotests = true autobenches = true description = "Product OS : Security provides a suite of helper tools to easily perform cryptograhpic operations including generating hashes, encrypting and decryting content." readme = "readme.md" keywords = ["product-os"] categories = [] license = "AGPL-3.0-only" resolver = "2" [dependencies.arbitrary] version = "1.3.2" features = ["derive"] optional = true default-features = false [dependencies.argon2] version = "0.4.0" features = [] optional = true default-features = false [dependencies.base64] version = "0.21.5" features = [] optional = true default-features = false [dependencies.blake2] version = "0.10.4" features = [] optional = true default-features = false [dependencies.chrono] version = "0.4.19" features = [] optional = true default-features = false [dependencies.const-oid] version = "0.9.3" features = ["db"] optional = true default-features = false [dependencies.der] version = "0.7.6" features = [ "alloc", "derive", "flagset", "oid", ] optional = true default-features = false [dependencies.hex] version = "0.4.3" features = [] optional = true default-features = false [dependencies.hkdf] version = "0.12.3" features = [] optional = true default-features = false [dependencies.jwt-compact] version = "0.8.0" features = [] optional = true default-features = false [dependencies.no-std-compat] version = "0.4.1" features = ["alloc"] optional = false [dependencies.openssl] version = "0.10.42" features = [] optional = true default-features = false [dependencies.orion] version = "0.17.6" features = [] optional = true default-features = false [dependencies.product-os-async-executor] version = ">= 0.0.1" features = [] optional = true default-features = false [dependencies.product-os-random] version = ">= 0.0.1" features = [] optional = true default-features = false [dependencies.product-os-urlencoding] version = ">= 0.0.1" features = [] optional = true default-features = false [dependencies.rcgen] version = "0.11.3" features = [] optional = true default-features = false [dependencies.ring] version = "0.16.20" features = [] optional = true default-features = false [dependencies.rsa] version = "0.9.3" features = ["sha2"] optional = true default-features = false [dependencies.rustls] version = "0.21.8" features = [] optional = true default-features = false [dependencies.rustls-pemfile] version = "1.0.4" features = [] optional = true default-features = false [dependencies.serde] version = "1.0.192" features = [] optional = true default-features = false [dependencies.serde_json] version = "1.0.108" features = [] optional = true default-features = false [dependencies.sha2] version = "0.10.2" features = [] optional = true default-features = false [dependencies.signature] version = "2.1.0" features = ["rand_core"] optional = true default-features = false [dependencies.spki] version = "0.7.2" features = ["alloc"] optional = true default-features = false [dependencies.totp-lite] version = "2.0.0" features = [] optional = true default-features = false [dependencies.tracing] version = "0.1.29" features = [] optional = false default-features = false [dependencies.urlencoding] version = "2.1.0" features = [] optional = true default-features = false [dependencies.uuid] version = "1.1.2" features = [] optional = true default-features = false [dependencies.x25519-dalek] version = "2.0.0" optional = true default-features = false [features] all = [ "default", "generator", "hash", "password_hash", "mac", "auth_verify", "jwt_auth_verify", "jwt_encrypt_decrypt", "diffie_hellman_key_store", "diffie_hellman_client_server_key_store", "symmetric_encrypt_decrypt", "public_private_encrypt_decrypt", "public_private_sign_verify", "time_otp", "string_safe", "certificates", "vendored-openssl", "byte_vector", "file", ] auth_verify = [ "hash", "mac", "generator", "serde_json/alloc", "product-os-urlencoding", "hex/alloc", ] byte_vector = ["serde_json/alloc"] certificates = [ "rustls", "rcgen", "rustls-pemfile", ] certificates_custom = [ "chrono/alloc", "const-oid", "der", "spki", "signature", "rsa", "sha2", "rustls", "rustls-pemfile", "product-os-random/constrained", "product-os-random/custom", ] default = [ "no-std-compat/std", "product-os-random/default", "product-os-async-executor/default", "chrono/clock", "jwt_auth_verify", ] diffie_hellman_client_server_key_store = [ "orion/safe_api", "no-std-compat/std", "uuid/serde", "uuid/v4", ] diffie_hellman_key_store = [ "x25519-dalek", "product-os-random/constrained", "product-os-random/custom", "uuid", "uuid/v4", "hkdf", "sha2", ] file = [] generator = ["product-os-random/constrained"] hash = [ "blake2", "generator", ] hasher = ["blake2"] jwt_auth_verify = [ "jwt-compact", "chrono/alloc", "serde", "generator", "product-os-async-executor/moment", ] jwt_encrypt_decrypt = [ "orion", "base64/alloc", ] jwt_encrypt_decrypt_std = ["orion/safe_api"] mac = ["blake2"] open_ssl = ["openssl"] password_hash = [ "argon2/alloc", "argon2/password-hash", "product-os-random/constrained", "product-os-random/custom", ] public_private_encrypt_decrypt = [ "no-std-compat/std", "product-os-random/default", ] public_private_sign_verify = ["ring/std"] string_safe = ["product-os-urlencoding"] symmetric_encrypt_decrypt = [ "orion", "product-os-random/constrained", ] time_otp = [ "mac", "chrono/alloc", "product-os-async-executor/moment", ] vendored-openssl = ["openssl/vendored"]