ap-proxy-client 0.6.1

Client library for connecting to the ap-proxy WebSocket server
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 = "2024"
rust-version = "1.85"
name = "ap-proxy-client"
version = "0.6.1"
authors = ["Bitwarden Inc"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client library for connecting to the ap-proxy WebSocket server"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/bitwarden/agent-access"
resolver = "2"

[features]
default = [
    "experimental-post-quantum-crypto",
    "native-websocket",
]
experimental-post-quantum-crypto = ["ap-proxy-protocol/experimental-post-quantum-crypto"]
native-websocket = [
    "dep:futures-util",
    "dep:tokio-tungstenite",
    "dep:tracing",
    "tokio/time",
    "tokio/rt",
    "tokio/macros",
]

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

[dependencies.ap-proxy-protocol]
version = "0.6.1"

[dependencies.futures-util]
version = "0.3"
optional = true

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1.36.0"
features = ["sync"]
default-features = false

[dependencies.tokio-tungstenite]
version = "0.24"
features = ["native-tls"]
optional = true

[dependencies.tracing]
version = "0.1.41"
optional = true

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