# 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"
rust-version = "1.78"
name = "millrace-sessions"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Durable local PTY-backed session layer for Millrace daemons and agent processes"
readme = "README.md"
keywords = [
    "millrace",
    "session",
    "pty",
    "daemon",
    "agent",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/tim-osterhus/millmux"

[[bin]]
name = "millmux"
path = "src/main.rs"

[[bin]]
name = "millrace-session-worker"
path = "src/bin/millrace-session-worker.rs"

[[bin]]
name = "millrace-sessiond"
path = "src/bin/millrace-sessiond.rs"

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

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

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

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

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

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

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

[dependencies.millrace-sessions-core]
version = "0.1.0"

[dependencies.millrace-sessions-host]
version = "0.1.0"

[dependencies.millrace-sessions-worker]
version = "0.1.0"

[dependencies.nix]
version = "0.29"
features = [
    "fs",
    "process",
    "signal",
    "socket",
    "term",
]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

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

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.nix]
version = "0.29"
features = [
    "fs",
    "process",
    "signal",
    "socket",
    "term",
]

[dev-dependencies.serde_json]
version = "1.0"

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