gitway 0.3.1

Purpose-built SSH transport client for Git hosting services (GitHub, GitLab, Codeberg).
# SPDX-License-Identifier: GPL-3.0-or-later
[package]
name        = "gitway"
description = "Purpose-built SSH transport client for Git hosting services (GitHub, GitLab, Codeberg)."
keywords    = ["ssh", "git", "github", "gitlab", "cli"]
categories  = ["command-line-utilities", "network-programming"]
readme      = "README.md"
documentation = "https://github.com/steelbore/gitway#readme"

version.workspace      = true
edition.workspace      = true
license.workspace      = true
authors.workspace      = true
repository.workspace   = true
rust-version.workspace = true

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

# ── Debian packaging (cargo-deb) ──────────────────────────────────────────────
[package.metadata.deb]
section  = "vcs"
priority = "optional"
assets   = [
  # Install the release binary.
  ["target/release/gitway", "usr/bin/", "755"],
  # Install documentation.
  ["../README.md", "usr/share/doc/gitway/README.md", "644"],
  ["../LICENSE",   "usr/share/licenses/gitway/LICENSE", "644"],
]

# ── RPM packaging (cargo-generate-rpm) ───────────────────────────────────────
[package.metadata.generate-rpm]
assets = [
  { source = "target/release/gitway", dest = "/usr/bin/gitway",                mode = "755" },
  { source = "../README.md",          dest = "/usr/share/doc/gitway/README.md", mode = "644", doc = true },
  { source = "../LICENSE",            dest = "/usr/share/licenses/gitway/LICENSE", mode = "644", doc = true },
]

[package.metadata.generate-rpm.requires]

[lints]
workspace = true

[dependencies]
gitway-lib = { version = "0.3.1", path = "../gitway-lib" }

russh.workspace      = true
tokio.workspace      = true
log.workspace        = true
clap.workspace       = true
env_logger.workspace = true
rpassword.workspace  = true
mimalloc.workspace   = true
zeroize.workspace    = true
serde_json.workspace = true