[package]
edition = "2021"
rust-version = "1.85"
name = "gitway"
version = "0.3.1"
authors = ["Mohamed Hammad <MJ@S3cure.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Purpose-built SSH transport client for Git hosting services (GitHub, GitLab, Codeberg)."
documentation = "https://github.com/steelbore/gitway#readme"
readme = "README.md"
keywords = [
"ssh",
"git",
"github",
"gitlab",
"cli",
]
categories = [
"command-line-utilities",
"network-programming",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/steelbore/gitway"
[package.metadata.deb]
assets = [
[
"target/release/gitway",
"usr/bin/",
"755",
],
[
"../README.md",
"usr/share/doc/gitway/README.md",
"644",
],
[
"../LICENSE",
"usr/share/licenses/gitway/LICENSE",
"644",
],
]
priority = "optional"
section = "vcs"
[[package.metadata.generate-rpm.assets]]
dest = "/usr/bin/gitway"
mode = "755"
source = "target/release/gitway"
[[package.metadata.generate-rpm.assets]]
dest = "/usr/share/doc/gitway/README.md"
doc = true
mode = "644"
source = "../README.md"
[[package.metadata.generate-rpm.assets]]
dest = "/usr/share/licenses/gitway/LICENSE"
doc = true
mode = "644"
source = "../LICENSE"
[package.metadata.generate-rpm.requires]
[[bin]]
name = "gitway"
path = "src/main.rs"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.env_logger]
version = "0.11"
[dependencies.gitway-lib]
version = "0.3.1"
[dependencies.log]
version = "0.4"
[dependencies.mimalloc]
version = "0.1"
[dependencies.rpassword]
version = "7"
[dependencies.russh]
version = "0.59"
features = [
"flate2",
"aws-lc-rs",
"rsa",
]
default-features = false
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"io-util",
"io-std",
"rt-multi-thread",
"net",
"sync",
"macros",
]
[dependencies.zeroize]
version = "1.7"
[lints.clippy]
allow_attributes_without_reason = "warn"
assertions_on_result_states = "warn"
cargo_common_metadata = "allow"
clone_on_ref_ptr = "warn"
deref_by_slicing = "warn"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
fn_to_numeric_cast_any = "warn"
literal_string_with_formatting_args = "allow"
map_err_ignore = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
redundant_type_annotations = "warn"
result_large_err = "allow"
semicolon_outside_block = "warn"
string_to_string = "warn"
undocumented_unsafe_blocks = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unused_result_ok = "warn"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
ambiguous_negative_literals = "warn"
missing_debug_implementations = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
trivial_numeric_casts = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_lifetimes = "warn"