opensecret 3.0.0

Rust SDK for OpenSecret - secure AI API interactions with nitro attestation
Documentation
# 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 = "opensecret"
version = "3.0.0"
authors = ["OpenSecret"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for OpenSecret - secure AI API interactions with nitro attestation"
homepage = "https://opensecret.cloud"
documentation = "https://docs.rs/opensecret"
readme = "README.md"
keywords = [
    "opensecret",
    "ai",
    "encryption",
    "nitro",
    "attestation",
]
categories = [
    "cryptography",
    "api-bindings",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/OpenSecretCloud/OpenSecret-SDK"

[features]
default = []
mock-attestation = []

[lib]
name = "opensecret"
path = "src/lib.rs"

[[example]]
name = "api_usage"
path = "examples/api_usage.rs"

[[example]]
name = "auth_example"
path = "examples/auth_example.rs"

[[test]]
name = "account_management"
path = "tests/account_management.rs"

[[test]]
name = "agent_integration"
path = "tests/agent_integration.rs"

[[test]]
name = "ai_integration"
path = "tests/ai_integration.rs"

[[test]]
name = "api_integration"
path = "tests/api_integration.rs"

[[test]]
name = "api_keys"
path = "tests/api_keys.rs"

[[test]]
name = "attestation"
path = "tests/attestation.rs"

[[test]]
name = "auth_integration"
path = "tests/auth_integration.rs"

[[test]]
name = "bip85_integration"
path = "tests/bip85_integration.rs"

[[test]]
name = "crypto"
path = "tests/crypto.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "session"
path = "tests/session.rs"

[dependencies.aes-gcm]
version = "0.10"

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1.8"

[dependencies.chacha20poly1305]
version = "0.10"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.eventsource-stream]
version = "0.2"

[dependencies.futures]
version = "0.3"

[dependencies.getrandom]
version = "0.2"

[dependencies.hex]
version = "0.4"

[dependencies.hkdf]
version = "0.12"

[dependencies.p256]
version = "0.13"
features = [
    "ecdh",
    "pkcs8",
]

[dependencies.percent-encoding]
version = "2.3"

[dependencies.pin-project]
version = "1.1"

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "rustls-tls",
    "http2",
    "charset",
    "system-proxy",
]
default-features = false

[dependencies.ring]
version = "0.17"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_cbor]
version = "0.11"

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.41"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.11"
features = [
    "v4",
    "serde",
]

[dependencies.x25519-dalek]
version = "2.0"
features = ["static_secrets"]

[dependencies.x509-parser]
version = "0.16"

[dependencies.yasna]
version = "0.5"

[dev-dependencies.dotenv]
version = "0.15"

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.tracing-subscriber]
version = "0.3"

[dev-dependencies.wiremock]
version = "0.6"