[package] name = "cargo-sonar" version = "1.2.0" authors = ["woshilapin "] edition = "2021" rust-version = "1.56" license = "MIT" description = "Helper to transform reports from Rust tooling for code quality, into valid Sonar report" documentation = "https://docs.rs/cargo-sonar" readme = "README.md" homepage = "https://gitlab.com/woshilapin/cargo-sonar" repository = "https://gitlab.com/woshilapin/cargo-sonar" keywords = ["cargo", "cli", "sonar"] categories = ["command-line-utilities", "development-tools"] [package.metadata.binstall] pkg-url = "{ repo }/-/releases/{ version }/downloads/bin/{ target }/cargo-sonar" pkg-fmt = "bin" [package.metadata.docs.rs] all-features = true [dependencies] cargo_metadata = { version = "0.15", optional = true } clap = { version = "4.1", features = ["derive", "wrap_help"] } clap_complete = "4.4.4" clap_complete_nushell = "4.4.2" color-eyre = "0.6" document-features = { version = "0.2", optional = true } dyn-iter = { version = "1.0", optional = true } eyre = "0.6.1" md5 = "0.7" rustsec = { version = "0.27.0", default-features = false, optional = true } serde = { version = "1.0.145", features = ["derive"] } serde_json = "1.0.79" skip_error = { version = "3.1", features = ["tracing"] } strum = { version = "0.24", features = [ "derive" ] } thiserror = "1.0" tracing = { version = "0.1.35", features = ["log", "release_max_level_info"] } tracing-subscriber = { version = "0.3.16", features = ["env-filter"] } [features] ## Support for converting the output of [`cargo-audit`](https://github.com/RustSec/cargo-audit) audit = ["dyn-iter", "rustsec"] ## Support for converting the output of [`cargo-clippy`](https://github.com/rust-lang/rust-clippy) clippy = ["dyn-iter", "cargo_metadata"] ## Support for converting into the [`codeclimate`](https://github.com/codeclimate/platform/blob/master/spec/analyzers/SPEC.md) format codeclimate = [] default = ["audit", "clippy", "codeclimate", "deny", "outdated", "sonar", "udeps"] ## Support for converting the output of [`cargo-deny`](https://github.com/EmbarkStudios/cargo-deny) deny = ["dyn-iter", "rustsec"] ## Support for converting the output of [`cargo-outdated`](https://github.com/kbknapp/cargo-outdated) outdated = ["dyn-iter"] ## Support for converting into the [`sonar`](https://docs.sonarsource.com/sonarqube/9.6/analyzing-source-code/importing-external-issues/generic-issue-import-format/) format sonar = [] ## Support for converting the output of [`cargo-udeps`](https://github.com/est31/cargo-udeps) udeps = ["dyn-iter"] [dev-dependencies] assert_cmd = "2.0.12" tempfile = "3" test-log = { version = "0.2", default-features = false, features = ["trace"] } [[bin]] name = "cargo-sonar" required-features = ["sonar"] [[bin]] name = "cargo-codeclimate" required-features = ["codeclimate"]