# 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-stdin" version = "0.5.1" authors = ["Mat Wood "] description = "Provides a type for easily accepting Clap arguments from stdin" documentation = "https://docs.rs/clap-stdin" readme = "README.md" keywords = [ "clap", "stdin", ] categories = ["command-line-interface"] license = "MIT OR Apache-2.0" repository = "https://github.com/thepacketgeek/clap-stdin" [[bin]] name = "maybe_stdin_positional_arg" path = "tests/fixtures/maybe_stdin_positional_arg.rs" test = false bench = false required-features = ["test_bin"] [[bin]] name = "maybe_stdin_optional_arg" path = "tests/fixtures/maybe_stdin_optional_arg.rs" test = false bench = false required-features = ["test_bin"] [[bin]] name = "maybe_stdin_twice" path = "tests/fixtures/maybe_stdin_twice.rs" test = false bench = false required-features = ["test_bin"] [[bin]] name = "file_or_stdin_positional_arg" path = "tests/fixtures/file_or_stdin_positional_arg.rs" test = false bench = false required-features = ["test_bin"] [[bin]] name = "file_or_stdin_optional_arg" path = "tests/fixtures/file_or_stdin_optional_arg.rs" test = false bench = false required-features = ["test_bin"] [[bin]] name = "file_or_stdin_twice" path = "tests/fixtures/file_or_stdin_twice.rs" test = false bench = false required-features = ["test_bin"] [[bin]] name = "is_stdin" path = "tests/fixtures/is_stdin.rs" test = false bench = false required-features = ["test_bin"] [[example]] name = "parse_with_serde" required-features = ["default"] [dependencies.clap] version = "4.5" features = ["derive"] optional = true [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.37" features = [ "fs", "io-std", "io-util", ] optional = true [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.assert_cmd] version = "2.0" [dev-dependencies.clap] version = "4.5" features = ["derive"] [dev-dependencies.predicates] version = "3.1" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.tempfile] version = "3.10" [dev-dependencies.tokio] version = "1.37" features = [ "rt", "macros", ] [features] default = [] test_bin = ["clap"] test_bin_tokio = [ "clap", "tokio", ] tokio = ["dep:tokio"]