[package]
name = "qtcloud-devops-cli"
version = "0.4.0"
edition = "2021"
description = "量潮DevOps云命令行工具"
authors = ["Guo-Zhang <zhangguo@quanttide.com>"]
license = "MIT"
repository = "https://github.com/quanttide/qtcloud-devops"
[lib]
name = "qtcloud_devops_cli"
path = "src/lib.rs"
crate-type = ["cdylib", "lib"]
[[bin]]
name = "qtcloud-devops"
path = "src/main.rs"
[dependencies]
git2 = { version = "0.19", features = ["vendored-libgit2"] }
clap = { version = "4", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
regex = "1"
uuid = { version = "1", features = ["v4"] }
pyo3 = { version = "0.23", features = ["extension-module"], optional = true }
[dev-dependencies]
tempfile = "3"
[profile.coverage]
inherits = "test"
debug = 1
[package.metadata.coverage]
rust-toolchain = "stable"
command = "cargo llvm-cov --all-features --lcov --output-path target/coverage/lcov.info"
skip-features = ["python"]
[features]
default = ["cli"]
python = ["dep:pyo3"]
cli = []
[[test]]
name = "code"
path = "tests/code.rs"
[[test]]
name = "release"
path = "tests/release.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"