cli-engine 0.1.0

Rust CLI framework for consistent command modules
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"
name = "cli-engine"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust CLI framework for consistent command modules"
readme = "README.md"
keywords = [
    "cli",
    "framework",
    "clap",
    "schema",
]
categories = ["command-line-interface"]
license = "Apache-2.0"
repository = "https://github.com/godaddy/cli-engine"

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

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

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

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

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

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

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

[dependencies.async-trait]
version = "0.1.89"

[dependencies.base64]
version = "0.22.1"

[dependencies.chrono]
version = "0.4.42"
features = [
    "clock",
    "serde",
]
default-features = false

[dependencies.clap]
version = "4.5.53"
features = [
    "derive",
    "std",
    "string",
]

[dependencies.jmespath]
version = "0.5.0"

[dependencies.regex]
version = "1.12.2"

[dependencies.reqwest]
version = "0.12.24"
features = [
    "json",
    "multipart",
    "rustls-tls",
]
default-features = false

[dependencies.schemars]
version = "1.2.1"
features = ["derive"]

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.145"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
version = "1.48.0"
features = [
    "fs",
    "io-util",
    "macros",
    "process",
    "rt-multi-thread",
    "signal",
    "sync",
    "time",
]

[dependencies.tracing]
version = "0.1.43"

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.tempfile]
version = "3.23.0"

[lints.clippy]
dbg_macro = "warn"
default_union_representation = "deny"
empty_drop = "warn"
exit = "deny"
fallible_impl_from = "warn"
implicit_clone = "warn"
inefficient_to_string = "warn"
lossy_float_literal = "deny"
macro_use_imports = "warn"
match_same_arms = "warn"
mem_forget = "deny"
multiple_inherent_impl = "deny"
mut_mut = "deny"
no_effect_underscore_binding = "warn"
panic = "warn"
print_stderr = "warn"
print_stdout = "warn"
ptr_as_ptr = "deny"
same_name_method = "warn"
single_char_lifetime_names = "warn"
trait_duplication_in_bounds = "warn"
type_repetition_in_bounds = "warn"
unimplemented = "warn"
unneeded_field_pattern = "warn"
unseparated_literal_suffix = "warn"
unwrap_in_result = "deny"
unwrap_used = "deny"
used_underscore_binding = "warn"
wildcard_dependencies = "deny"

[lints.rust]
ambiguous_negative_literals = "warn"
closure_returning_async_block = "warn"
explicit_outlives_requirements = "warn"
if_let_rescope = "warn"
impl_trait_overcaptures = "warn"
impl_trait_redundant_captures = "warn"
let_underscore_drop = "warn"
macro_use_extern_crate = "warn"
meta_variable_misuse = "warn"
missing_debug_implementations = "warn"
non_ascii_idents = "warn"
noop_method_call = "warn"
redundant_lifetimes = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unit_bindings = "warn"
unsafe_attr_outside_unsafe = "warn"
unsafe_code = "deny"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"

[lints.rust.future_incompatible]
level = "deny"
priority = -1

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1

[lints.rust.unused]
level = "warn"
priority = -1