# 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 = "spdx-gen" version = "0.2.2" authors = ["Ryan Cao "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "SPDX license generator" readme = "README.md" keywords = [ "license", "spdx", "generator", ] categories = [ "command-line-utilities", "development-tools", ] license = "GPL-3.0-only" repository = "https://github.com/ryanccn/spdx-gen.git" [[bin]] name = "spdx-gen" path = "src/main.rs" [dependencies.anstream] version = "0.6.17" [dependencies.clap] version = "4.5.20" features = [ "derive", "env", ] [dependencies.clap_complete] version = "4.5.36" [dependencies.color-eyre] version = "0.6.3" [dependencies.crossterm] version = "0.28.1" [dependencies.dialoguer] version = "0.11.0" features = ["fuzzy-select"] default-features = false [dependencies.dirs] version = "5.0.1" [dependencies.eyre] version = "0.6.12" [dependencies.flate2] version = "1.0.34" [dependencies.humansize] version = "2.1.3" [dependencies.owo-colors] version = "4.1.0" [dependencies.reqwest] version = "0.12.9" features = [ "brotli", "gzip", "rustls-tls", "zstd", ] default-features = false [dependencies.serde] version = "1.0.214" features = ["derive"] [dependencies.serde_json] version = "1.0.132" [dependencies.tar] version = "0.4.42" [dependencies.tokio] version = "1.41.0" features = ["full"] [build-dependencies.clap] version = "4.5.20" features = [ "derive", "env", ] [build-dependencies.clap_complete] version = "4.5.36" [lints.clippy] module_name_repetitions = "allow" redundant_closure_for_method_calls = "allow" [lints.clippy.all] level = "warn" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.clippy.perf] level = "warn" priority = -1 [lints.rust] unsafe_code = "forbid"