# 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 = "2021"
name = "capsudo-transport"
version = "0.1.2"
authors = ["Edera, Inc."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Transport abstraction for capsudo: local Unix sockets today, cross-zone IDM tomorrow"
homepage = "https://github.com/edera-dev/capsudo-rs"
readme = "README.md"
license = "0BSD"
repository = "https://github.com/edera-dev/capsudo-rs"

[features]
fakeidm = []

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

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

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

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

[dependencies.libc]
version = "0.2"

[dependencies.nix]
version = "0.31"
features = [
    "socket",
    "uio",
    "term",
    "process",
    "fs",
    "user",
    "hostname",
    "poll",
]

[dependencies.thiserror]
version = "2"

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

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