# 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 = "2021"
name = "qtcloud-devops-cli"
version = "0.10.0"
authors = ["QuantTide <opensource@quanttide.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "量潮DevOps云命令行工具"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/quanttide/qtcloud-devops"

[package.metadata.coverage]
rust-toolchain = "stable"
command = "cargo llvm-cov --all-features --lcov --output-path target/coverage/lcov.info"
skip-features = ["python"]

[features]
cli = []
default = ["cli"]
python = ["dep:pyo3"]

[lib]
name = "qtcloud_devops_cli"
crate-type = ["lib"]
path = "src/lib.rs"

[[bin]]
name = "qtcloud-devops"
path = "src/main.rs"

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

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

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

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

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

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

[dependencies.git2]
version = "0.19"

[dependencies.gix]
version = "0.66"
features = [
    "default",
    "serde",
]

[dependencies.jiff]
version = "0.1"

[dependencies.pyo3]
version = "0.23"
features = ["extension-module"]
optional = true

[dependencies.quanttide-agent]
version = "0.1"

[dependencies.quanttide-devops]
version = "0.3.0"

[dependencies.semver]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dev-dependencies.tempfile]
version = "3"

[profile.coverage]
debug = 1
inherits = "test"
