# 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 = "cli-settings-derive" version = "0.3.2" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Manage CLI settings with configuration file(s) and command line parsing, using serde and clap" documentation = "https://docs.rs/cli-settings-derive" readme = "README.md" keywords = [ "clap", "serde", "derive", "config", "setting", ] categories = ["command-line-interface"] license = "MIT" repository = "https://github.com/mic006/cli-settings-derive" [lib] name = "cli_settings_derive" path = "src/lib.rs" proc-macro = true [[example]] name = "example" path = "examples/example.rs" [[test]] name = "expand" path = "tests/expand.rs" [[test]] name = "usage" path = "tests/usage.rs" [dependencies.anyhow] version = "1.0.89" [dependencies.clap] version = "4.5.19" features = ["derive"] [dependencies.proc-macro2] version = "1.0.86" [dependencies.quote] version = "1.0.37" [dependencies.serde] version = "1.0.210" features = ["derive"] [dependencies.serde_with] version = "3.10.0" features = ["macros"] default-features = false [dependencies.serde_yaml] version = "0.9.34" [dependencies.syn] version = "2.0.79" [dev-dependencies.log] version = "0.4.22" [dev-dependencies.macrotest] version = "1.0.13" [dev-dependencies.syn] version = "2.0.79" features = [ "full", "extra-traits", ] [lints.clippy] module_name_repetitions = "allow" multiple_crate_versions = "allow" needless_doctest_main = "allow" needless_pass_by_value = "allow" similar_names = "allow" [lints.clippy.all] level = "deny" priority = -1 [lints.clippy.cargo] level = "deny" priority = -1 [lints.clippy.pedantic] level = "deny" priority = -1 [lints.rust] dead_code = "deny" future-incompatible = "warn" let-underscore = "warn" nonstandard-style = "warn" rust-2018-idioms = "warn" unsafe_code = "deny" warnings = "warn" [lints.rust.unused] level = "warn" priority = -1