koh 0.2.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"
name = "koh"
version = "0.2.0"
authors = ["koh authors"]
build = false
exclude = [
    "docs/",
    "testing/",
]
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"
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"

[[example]]
name = "chaos"
path = "examples/chaos.rs"

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.argon2]
version = "0.5"

[dependencies.blake3]
version = "1"

[dependencies.bytes]
version = "1"

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

[dependencies.constant_time_eq]
version = "0.5"

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

[dependencies.directories]
version = "5"

[dependencies.iroh]
version = "=1.0.0"

[dependencies.miniz_oxide]
version = "0.8"

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

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

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

[dependencies.rand]
version = "0.8"

[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]
unsafe_code = "forbid"

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