microsandbox-agent-client 0.7.0

Transport-agnostic client for the microsandbox agent 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"
name = "microsandbox-agent-client"
version = "0.7.0"
authors = ["Super Rad Company <development@superrad.company>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Transport-agnostic client for the microsandbox agent protocol."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/superradcompany/microsandbox"

[features]
default = []
named-pipe = [
    "stream",
    "microsandbox-protocol-client/named-pipe",
]
stream = []
uds = [
    "microsandbox-protocol-client/uds",
    "stream",
    "dep:bytes",
    "dep:libc",
    "dep:memmap2",
    "dep:nix",
    "dep:tempfile",
]

[lib]
name = "microsandbox_agent_client"
path = "lib/lib.rs"

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

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

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

[dependencies.bytes]
version = "1.9"
optional = true

[dependencies.ciborium]
version = "0.2"

[dependencies.libc]
version = "0.2"
optional = true

[dependencies.memmap2]
version = "0.9"
optional = true

[dependencies.microsandbox-protocol]
version = "=0.7.0"

[dependencies.microsandbox-protocol-client]
version = "=0.7.0"

[dependencies.nix]
version = "0.31"
features = [
    "socket",
    "uio",
]
optional = true

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

[dependencies.tempfile]
version = "3.15"
optional = true

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tempfile]
version = "3.15"

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