koh 0.8.0

koh — a resilient peer-to-peer remote shell: mosh, rewritten in Rust over iroh
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 = "2021"
rust-version = "1.91"
name = "koh"
version = "0.8.0"
authors = ["Stephen Korzen <stephen.korzen@gmail.com>"]
build = false
exclude = [
    "docs/",
    "testing/",
    "tests/",
    "examples/",
    "fuzz/",
    ".github/",
    "clippy.toml",
    "deny.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "koh — a resilient peer-to-peer remote shell: mosh, rewritten in Rust over iroh"
homepage = "https://github.com/gold-silver-copper/koh"
documentation = "https://docs.rs/koh"
readme = "README.md"
keywords = [
    "mosh",
    "shell",
    "terminal",
    "iroh",
    "p2p",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/gold-silver-copper/koh"

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

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

[dependencies.aes-gcm]
version = "0.10"

[dependencies.anyhow]
version = "1"

[dependencies.argon2]
version = "0.5"

[dependencies.bytes]
version = "1"

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

[dependencies.data-encoding]
version = "2"

[dependencies.iroh]
version = "=1.0.0"

[dependencies.miniz_oxide]
version = "0.8"

[dependencies.nix]
version = "0.28"
features = ["signal"]
default-features = false

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

[dependencies.postcard]
version = "=1.1.3"
features = ["use-std"]
default-features = false

[dependencies.qrcode]
version = "=0.14.1"
default-features = false

[dependencies.rand]
version = "0.8"

[dependencies.rpassword]
version = "7"

[dependencies.secrecy]
version = "0.10"

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

[dependencies.termina]
version = "0.3.3"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.unicode-width]
version = "0.2"

[dependencies.vt100]
version = "=0.16.2"

[dependencies.zeroize]
version = "1"

[dev-dependencies.proptest]
version = "1"

[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
cognitive_complexity = "allow"
doc_markdown = "allow"
duration_suboptimal_units = "allow"
exit = "deny"
expect_fun_call = "deny"
expect_used = "deny"
float_cmp_const = "deny"
get_unwrap = "deny"
ignored_unit_patterns = "allow"
indexing_slicing = "deny"
lossy_float_literal = "deny"
mem_forget = "deny"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
panic = "deny"
panic_in_result_fn = "deny"
rc_buffer = "deny"
rest_pat_in_fully_bound_structs = "deny"
significant_drop_tightening = "allow"
similar_names = "allow"
string_slice = "deny"
struct_excessive_bools = "allow"
todo = "deny"
too_many_lines = "allow"
unimplemented = "deny"
unreachable = "deny"
unwrap_in_result = "deny"
unwrap_used = "deny"

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
dead_code = "deny"
unsafe_code = "forbid"

[profile.release]
opt-level = 3
lto = "thin"
overflow-checks = true