# 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"
rust-version = "1.85"
name = "purple-ssh"
version = "1.14.2"
build = false
exclude = [
    ".github/",
    ".gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Manage SSH configs and launch connections from the terminal. TUI host manager with search, tags, tunnels, password management (keychain, 1Password, Bitwarden, pass, Vault), cloud sync (DigitalOcean, Vultr, Linode, Hetzner, UpCloud, Proxmox VE), self-update and round-trip fidelity for ~/.ssh/config."
homepage = "https://getpurple.sh"
readme = "README.md"
keywords = [
    "ssh",
    "ssh-config",
    "tui",
    "terminal",
    "ssh-manager",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/erickochen/purple"

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.clap_complete]
version = "4"

[dependencies.crossterm]
version = "0.29"

[dependencies.dirs]
version = "6"

[dependencies.glob]
version = "0.3"

[dependencies.ratatui]
version = "0.30"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.ureq]
version = "2"
features = [
    "json",
    "native-tls",
]

[profile.release]
opt-level = "z"
lto = true
strip = true
