# 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 = "clap-maybe-deser" version = "0.2.0" authors = ["gluax"] include = [ "examples/**", "src/**", "screenshots/**", ] description = "Adds the ability to use deserializable data as a clap argument" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/gluax/clap-maybe-deser" resolver = "2" [[example]] name = "json_config" required-features = ["serde_json"] [[example]] name = "maybe_json_config" required-features = ["serde_json"] [[example]] name = "maybe_stdin_json_config" required-features = [ "serde_json", "stdin", ] [dependencies.clap] version = "4.5" [dependencies.clap-stdin] version = "0.4" optional = true [dependencies.serde] version = "1.0" default-features = false [dependencies.serde_json] version = "1.0" optional = true default-features = false [dev-dependencies.clap] version = "4.5" features = ["derive"] default-features = true [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.serde_json] version = "1.0" features = ["alloc"] [dev-dependencies.serde_yml] version = "0.0.10" [features] default = [] serde_json = ["dep:serde_json"] stdin = ["dep:clap-stdin"]