# 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" rust-version = "1.74.0" name = "cling" version = "0.1.2" authors = ["Ahmed Farghal "] include = [ "**/*.rs", "../README.md", "../LICENSE-*", "../examples", ] description = "A lightweight framework that simplifies building complex command-line applications with [clap.rs](https://clap.rs)" readme = "README.md" categories = ["command-line-interface"] license = "Apache-2.0 OR MIT" repository = "https://github.com/AhmedSoliman/cling" [package.metadata.docs.rs] all-features = true cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] default-target = "x86_64-unknown-linux-gnu" [[example]] name = "complex" path = "../examples/complex.rs" [[example]] name = "simple" path = "../examples/simple.rs" [[example]] name = "simple-multi-command" path = "../examples/simple-multi-command.rs" [[example]] name = "bad-practice" path = "../examples/bad-practice.rs" [[example]] name = "projects" path = "../examples/projects.rs" [[example]] name = "repl" path = "../examples/repl.rs" required-features = ["shlex"] [[example]] name = "many-handlers" path = "../examples/many_handlers.rs" [[example]] name = "errors" path = "../examples/errors.rs" [dependencies.anyhow] version = "1.0" [dependencies.async-trait] version = "0.1.77" [dependencies.clap] version = "4" features = [ "std", "derive", ] default-features = false [dependencies.cling-derive] version = "0.1" optional = true [dependencies.indoc] version = "2.0" [dependencies.itertools] version = "0.12.1" [dependencies.rustversion] version = "1.0.14" [dependencies.shlex] version = "1.3.0" optional = true [dependencies.static_assertions] version = "1.1" [dependencies.termcolor] version = "1.4" [dependencies.tracing] version = "0.1.37" features = ["log"] [dev-dependencies.clap] version = "4.3.21" features = ["derive"] default-features = true [dev-dependencies.clap-verbosity-flag] version = "2.2.0" [dev-dependencies.colored] version = "2.0" [dev-dependencies.env_logger] version = "0.11.3" [dev-dependencies.filetime] version = "0.2.22" [dev-dependencies.log] version = "0.4.20" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.rustyline] version = "14.0.0" [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.trybuild] version = "1.0.82" [dev-dependencies.trycmd] version = "0.15.0" features = ["examples"] [build-dependencies.rustc_version] version = "0.4.0" [features] default = ["derive"] derive = ["dep:cling-derive"]