ap-client 0.4.0

Agent Access SDK. High-level clients for the Access Protocol.
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-client"
version = "0.4.0"
authors = ["Bitwarden Inc"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Agent Access SDK. High-level clients for the Access Protocol."
readme = false
license = "Apache-2.0"
repository = "https://github.com/bitwarden/agent-access"
resolver = "2"

[features]
default = ["native-websocket"]
native-websocket = ["ap-proxy-client/native-websocket"]

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

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

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

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

[dependencies.ap-noise]
version = "0.4.0"

[dependencies.ap-proxy-client]
version = "0.4.0"
default-features = false

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

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

[dependencies.base64]
version = "0.22"

[dependencies.dirs]
version = "5.0"

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

[dependencies.hex]
version = "0.4"

[dependencies.rand]
version = "0.8"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

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

[dependencies.tracing]
version = "0.1.41"

[dev-dependencies.ap-proxy]
version = "0.4.0"

[dev-dependencies.tokio]
version = "1.36.0"
features = [
    "macros",
    "rt-multi-thread",
    "sync",
    "time",
    "rt-multi-thread",
    "macros",
    "time",
    "test-util",
]

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