# 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 = "etr"
version = "0.4.8"
build = "build.rs"
exclude = [
    ".clauderc",
    "AGENTS.md",
    "CLAUDE.md",
    "GEMINI.md",
    "NOTES.md",
    "justfile",
    "scripts/",
    ".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust implementation of Eternal Terminal (et)"
readme = "README.md"
keywords = [
    "terminal",
    "ssh",
    "remote-shell",
    "mosh",
    "reconnect",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "GPL-3.0-only"
repository = "https://github.com/l1a/etr"

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

[[bin]]
name = "etr"
path = "src/bin/etr.rs"

[[bin]]
name = "etrs"
path = "src/bin/etrs.rs"

[[bench]]
name = "session_bench"
path = "benches/session_bench.rs"
harness = false

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

[dependencies.clap_complete]
version = "4.5"

[dependencies.clap_complete_nushell]
version = "0.1"

[dependencies.crossterm]
version = "0.27"

[dependencies.dirs]
version = "5"

[dependencies.libc]
version = "0.2"

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

[dependencies.portable-pty]
version = "0.9"

[dependencies.prost]
version = "0.13"

[dependencies.quinn]
version = "0.11"

[dependencies.rand]
version = "0.8"

[dependencies.rcgen]
version = "0.14"

[dependencies.rustls]
version = "0.23"

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

[dependencies.tokio]
version = "1.38"
features = ["full"]

[dependencies.toml]
version = "0.8"

[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]

[profile.profiling]
debug = 2
inherits = "release"
