# 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 = "susshi"
version = "0.16.0"
build = "build.rs"
exclude = [
    "target/",
    ".idea/",
    ".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A modern terminal-based SSH connection manager with a beautiful Catppuccin TUI"
homepage = "https://github.com/yatoub/susshi"
documentation = "https://github.com/yatoub/susshi/blob/master/README.md"
readme = "README.md"
keywords = [
    "ssh",
    "tui",
    "terminal",
    "manager",
    "ratatui",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/yatoub/susshi"

[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",
],
]

[features]
default = []
openssl-vendored = ["ssh2/vendored-openssl"]

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.arboard]
version = "3"
default-features = false

[dependencies.catppuccin]
version = "2.8.0"

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

[dependencies.crossterm]
version = "0.29.0"

[dependencies.fuzzy-matcher]
version = "0.3"

[dependencies.i18n-embed]
version = "0.16"
features = [
    "fluent-system",
    "desktop-requester",
]

[dependencies.i18n-embed-fl]
version = "0.10"

[dependencies.libc]
version = "0.2"

[dependencies.ratatui]
version = "0.30.0"
features = ["crossterm"]
default-features = false

[dependencies.rust-embed]
version = "8"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml_ng]
version = "0.10.0"

[dependencies.shellexpand]
version = "3.1.2"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.unic-langid]
version = "0.9"
features = ["macros"]

[dependencies.ureq]
version = "3"

[dev-dependencies.tempfile]
version = "3.27.0"

[build-dependencies.clap]
version = "4"
features = ["derive"]

[build-dependencies.clap_mangen]
version = "0.3"

[build-dependencies.flate2]
version = "1"

[target.'cfg(not(target_os = "windows"))'.dependencies.ssh2]
version = "0.9"

[target.'cfg(target_os = "windows")'.dependencies.ssh2]
version = "0.9"

[target."cfg(unix)".dependencies.nix]
version = "0.31"
features = [
    "term",
    "process",
]

[profile.release]
opt-level = "s"
lto = "thin"
codegen-units = 1
debug = 0
panic = "abort"
incremental = false
strip = true
