-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
91 lines (81 loc) · 2.89 KB
/
Copy pathCargo.toml
File metadata and controls
91 lines (81 loc) · 2.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[package]
name = "susshi"
version = "0.21.1"
edition = "2024"
rust-version = "1.88"
description = "Terminal SSH manager with YAML inventories, multi-hop jump hosts, Wallix bastion, tunnels, SCP, and Catppuccin TUI"
license = "MIT"
repository = "https://github.com/yatoub/susshi"
homepage = "https://yatoub.github.io/susshi/"
documentation = "https://yatoub.github.io/susshi/"
keywords = ["ssh", "tui", "terminal", "manager", "bastion"]
categories = ["command-line-utilities", "network-programming", "development-tools"]
exclude = ["target/", ".idea/", ".github/"]
[features]
default = []
# Controlled fallback for targets where system OpenSSL is unavailable or unstable.
openssl-vendored = ["ssh2/vendored-openssl"]
[dependencies]
anyhow = "1.0.102"
i18n-embed = { version = "0.16", features = ["fluent-system", "desktop-requester"] }
i18n-embed-fl = "0.10"
rust-embed = "8"
unic-langid = { version = "0.9", features = ["macros"] }
arboard = { version = "3", default-features = false }
catppuccin = "2.8.0"
clap = { version = "4", features = ["derive"] }
crossterm = "0.29.0"
libc = "0.2"
ratatui = { version = "0.30.1", default-features = false, features = ["crossterm"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
fuzzy-matcher = "0.3"
shellexpand = "3.1.2"
thiserror = "2.0.18"
serde_yaml_ng = "0.10.0"
ureq = "3"
[target.'cfg(unix)'.dependencies]
nix = { version = "0.31", features = ["term", "process"] }
[target.'cfg(not(target_os = "windows"))'.dependencies]
ssh2 = "0.9"
[target.'cfg(target_os = "windows")'.dependencies]
ssh2 = "0.9"
[build-dependencies]
clap = { version = "4", features = ["derive"] }
clap_mangen = "0.3"
flate2 = "1"
[dev-dependencies]
tempfile = "3.27.0"
[profile.release]
# Compromis taille / temps de compilation pour les builds de release.
opt-level = "s"
# Supprime les symboles de debug (économie ~1 Mo typiquement)
strip = true
# Thin LTO garde une bonne réduction de taille avec un coût de build plus faible que fat LTO.
lto = "thin"
codegen-units = 1
incremental = false
# Pas d'info debug en release.
debug = 0
# Pas de symboles de panic verbeux (remplace "panicked at …" par abort)
panic = "abort"
[package.metadata.deb]
name = "susshi"
maintainer = "yatoub <yatoub@users.noreply.github.com>"
copyright = "2024-2026 yatoub"
license-file = ["LICENCE", "0"]
extended-description = """\
susshi is a modern, terminal-based SSH connection manager \
with TUI (ratatui + Catppuccin theme), multi-mode connections \
(direct, jump, bastion/Wallix), and YAML configuration."""
depends = "openssh-client"
recommends = "xclip | xdotool"
section = "net"
priority = "optional"
assets = [
["target/release/susshi", "usr/bin/susshi", "755"],
["target/man/susshi.1.gz", "usr/share/man/man1/susshi.1.gz", "644"],
["README.md", "usr/share/doc/susshi/README.md", "644"],
["docs/*", "usr/share/doc/susshi/docs/", "644"],
["examples/*", "usr/share/doc/susshi/examples/", "644"],
]