pbox-agent 0.1.2

Authenticated guest agent for pbox workspaces
# 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.95"
name = "pbox-agent"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Authenticated guest agent for pbox workspaces"
readme = false
license = "MPL-2.0"
repository = "https://github.com/kierandrewett/pbox"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ version }-{ target }.tar.gz"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"

[[bin]]
name = "pbox-agent"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]

[dependencies.ipnet]
version = "2.12"

[dependencies.nix]
version = "0.31.3"
features = [
    "process",
    "term",
    "signal",
    "user",
]

[dependencies.pbox-crypto]
version = "0.1.2"

[dependencies.pbox-proto]
version = "0.1.2"

[dependencies.pbox-relay]
version = "0.1.2"

[dependencies.pem]
version = "3.0"

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
]
default-features = false

[dependencies.rustls-pki-types]
version = "1.12"

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.tokio]
version = "1.48"
features = [
    "fs",
    "io-util",
    "macros",
    "net",
    "process",
    "rt-multi-thread",
    "signal",
    "sync",
    "time",
]

[dependencies.tokio-rustls]
version = "0.26"
features = ["ring"]
default-features = false

[dependencies.tokio-stream]
version = "0.1"
features = ["net"]

[dependencies.tonic]
version = "0.14"
features = [
    "transport",
    "tls-ring",
]

[dev-dependencies.pbox-agent-client]
version = "0.1.2"