# 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" rust-version = "1.56" name = "cargo-sonar" version = "1.2.0" authors = ["woshilapin "] description = "Helper to transform reports from Rust tooling for code quality, into valid Sonar report" homepage = "https://gitlab.com/woshilapin/cargo-sonar" documentation = "https://docs.rs/cargo-sonar" readme = "README.md" keywords = [ "cargo", "cli", "sonar", ] categories = [ "command-line-utilities", "development-tools", ] license = "MIT" repository = "https://gitlab.com/woshilapin/cargo-sonar" [package.metadata.binstall] pkg-fmt = "bin" pkg-url = "{ repo }/-/releases/{ version }/downloads/bin/{ target }/cargo-sonar" [package.metadata.docs.rs] all-features = true [[bin]] name = "cargo-sonar" required-features = ["sonar"] [[bin]] name = "cargo-codeclimate" required-features = ["codeclimate"] [dependencies.cargo_metadata] version = "0.15" optional = true [dependencies.clap] version = "4.1" features = [ "derive", "wrap_help", ] [dependencies.clap_complete] version = "4.4.4" [dependencies.clap_complete_nushell] version = "4.4.2" [dependencies.color-eyre] version = "0.6" [dependencies.document-features] version = "0.2" optional = true [dependencies.dyn-iter] version = "1.0" optional = true [dependencies.eyre] version = "0.6.1" [dependencies.md5] version = "0.7" [dependencies.rustsec] version = "0.27.0" optional = true default-features = false [dependencies.serde] version = "1.0.145" features = ["derive"] [dependencies.serde_json] version = "1.0.79" [dependencies.skip_error] version = "3.1" features = ["tracing"] [dependencies.strum] version = "0.24" features = ["derive"] [dependencies.thiserror] version = "1.0" [dependencies.tracing] version = "0.1.35" features = [ "log", "release_max_level_info", ] [dependencies.tracing-subscriber] version = "0.3.16" features = ["env-filter"] [dev-dependencies.assert_cmd] version = "2.0.12" [dev-dependencies.tempfile] version = "3" [dev-dependencies.test-log] version = "0.2" features = ["trace"] default-features = false [features] audit = [ "dyn-iter", "rustsec", ] clippy = [ "dyn-iter", "cargo_metadata", ] codeclimate = [] default = [ "audit", "clippy", "codeclimate", "deny", "outdated", "sonar", "udeps", ] deny = [ "dyn-iter", "rustsec", ] outdated = ["dyn-iter"] sonar = [] udeps = ["dyn-iter"]