[package]
edition = "2024"
rust-version = "1.96.0"
name = "gitflow-gitcode"
version = "1.1.0"
authors = ["byx-darwin <baoyx19870908@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "gf 的 GitCode 适配器,基于 gitcode CLI 提供 Issue/MR/Release/Review 等能力。GitCode adapter for gf via gitcode CLI."
homepage = "https://byx-darwin.github.io/gitflow-cli"
documentation = "https://docs.rs/gitflow-gitcode"
readme = "README.md"
keywords = [
"cli",
"gitcode",
"gitflow",
"issue",
"pr",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/byx-darwin/gitflow-cli"
[lib]
name = "gitflow_gitcode"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.gitflow-core]
version = "1.1.0"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.142"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.52.1"
features = [
"rt",
"rt-multi-thread",
"macros",
"time",
"signal",
"process",
"io-util",
]
[dependencies.tracing]
version = "0.1.41"
[dependencies.which]
version = "7"
[dev-dependencies.temp-env]
version = "0.3"
[dev-dependencies.tokio]
version = "1.52.1"
features = [
"rt",
"rt-multi-thread",
"macros",
"time",
"signal",
"process",
"io-util",
]
[lints.clippy]
allow_attributes_without_reason = "warn"
dbg_macro = "deny"
expect_used = "warn"
indexing_slicing = "warn"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
panic = "warn"
similar_names = "allow"
todo = "deny"
unwrap_in_result = "warn"
unwrap_used = "warn"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe_code = "forbid"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1