clap_types 0.1.0

Generate strongly-typed command builders from clap command definitions
Documentation
# 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 = "2024"
rust-version = "1.85"
name = "clap_types"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generate strongly-typed command builders from clap command definitions"
readme = "README.md"
keywords = [
    "clap",
    "cli",
    "typescript",
    "flow",
    "bindings",
]
categories = [
    "command-line-interface",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/facebook/clap_types"

[features]
default = []
unstable-output-contracts = ["clap/unstable-ext"]

[lib]
name = "clap_types"
path = "src/lib.rs"

[[example]]
name = "echo-args"
path = "tests/fixtures/echo_args_bin.rs"

[[example]]
name = "generate_binding_subcommand"
path = "examples/generate_binding_subcommand.rs"

[[example]]
name = "generate_complex_bindings"
path = "examples/generate_complex_bindings.rs"

[[example]]
name = "generate_derive_bindings"
path = "examples/generate_derive_bindings.rs"

[[example]]
name = "generate_typescript"
path = "examples/generate_typescript.rs"

[[test]]
name = "generate_to"
path = "tests/generate_to.rs"

[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"

[dependencies.clap]
version = "4.5.20"
features = ["std"]
default-features = false

[dependencies.serde_json]
version = "1"

[dev-dependencies.clap]
version = "4.5.20"
features = [
    "derive",
    "help",
    "std",
]
default-features = false

[lints.clippy]
dbg_macro = "warn"
todo = "warn"
unwrap_used = "warn"
wildcard_imports = "warn"

[lints.rust]
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"