gitflow-core 2.1.0

gf 核心库:细粒度 provider trait 集合、URL 平台探测、跨平台适配器契约与 toon 输出。Core library: provider traits, URL-based platform detection, cross-platform adapter contracts & toon output.
Documentation
# 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 = "gitflow-core"
version = "2.1.0"
authors = ["byx-darwin <baoyx19870908@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "gf 核心库:细粒度 provider trait 集合、URL 平台探测、跨平台适配器契约与 toon 输出。Core library: provider traits, URL-based platform detection, cross-platform adapter contracts & toon output."
homepage = "https://byx-darwin.github.io/gitflow-cli"
documentation = "https://docs.rs/gitflow-core"
readme = "README.md"
keywords = [
    "gitflow",
    "git",
    "cli",
    "core",
    "workflow",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/byx-darwin/gitflow-cli"

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

[[example]]
name = "config_demo"
path = "examples/config_demo.rs"

[[example]]
name = "gen_compat_matrix"
path = "examples/gen_compat_matrix.rs"

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

[[bench]]
name = "config_bench"
path = "benches/config_bench.rs"
harness = false

[dependencies.async-trait]
version = "0.1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

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

[dependencies.serde_json]
version = "1.0.142"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.1"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "time",
    "signal",
    "process",
    "io-util",
]

[dependencies.toon-format]
version = "0.5"

[dependencies.tracing]
version = "0.1.41"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.rstest]
version = "0.26"

[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