# 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 = "2024"
rust-version = "1.85"
name = "ap-relay-protocol"
version = "0.12.0"
authors = ["Bitwarden Inc"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared wire protocol types for the ap-relay WebSocket server"
readme = false
license = "Apache-2.0"
repository = "https://github.com/bitwarden/agent-access"
resolver = "2"

[features]
default = []
experimental-post-quantum-crypto = []

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

[dependencies.ap-error]
version = "0.12.0"

[dependencies.coset]
version = "0.4.1"

[dependencies.ed25519-dalek]
version = "2.2.0"

[dependencies.hex]
version = "0.4"

[dependencies.ml-dsa]
version = "0.1.0-rc.7"

[dependencies.rand]
version = "0.8"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1.0"

[lints.clippy]
string_slice = "warn"
unwrap_used = "deny"
