Files
porthole/Cargo.toml
2026-08-13 18:15:38 +02:00

33 lines
762 B
TOML

[package]
name = "porthole"
version = "0.1.0"
edition = "2021"
description = "Create and manage named SSH port forwards."
license = "AGPL-3+"
[[bin]]
name = "porthole"
path = "src/main.rs"
[dependencies]
clap = { version = "4", features = ["derive"] }
clap_complete = "4"
thiserror = "^2"
dirs = "6"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "^1"
libc = "0.2"
# Keep panics from corrupting a partially-written state file - abort is
# fine for a CLI/supervisor as there's no long-lived in-process state to
# unwind (state lives on disk and is written atomically, see src/atomic.rs).
[profile.release]
panic = "abort"
lto = true
opt-level = 3
codegen-units = 1