1. Only showing results from lib.rs

    Clear filter to show all search results

  2. 6 days ago16,006,192 downloads per month Used in 33,520 crates (20,508 directly). MIT/Apache. 1MB 14K SLoC clap. Command Line Argument Parser for Rust. Dual-licensed under Apache 2.0 or MIT.. About. Create your command-line parser, with all of the bells and whistles, declaratively or procedurally.
  3. Sep 6, 202448,355 downloads per month . MIT/Apache. 29KB 298 lines. clap-adapters. Adapter types for declaratively loading configurations with clap. Did you know that any type that implements FromStr can be used in a clap derive struct? That means that any logic you can fit into a fn(&str)-> Result<T, Error> can be run at parsing-time. This can be expecially useful for declaratively selecting config ...
  4. Dec 14, 2024312 downloads per month . MIT/Apache. 35KB 656 lines. clappen. Flatten prefix for clap. About. Integrate flatten prefix in your clap parsers easily.. For more details, see: examples; Basic usage use clap::Parser; // export is the name of the macro generated #[clappen::clappen(export = nested)] // this mod definition does not appear in the // final generated code, it's just a convenient ...
  5. Feb 4, 2025437 downloads per month Used in bestool. Apache-2.0 OR MIT. 17KB 168 lines. lloggs. Logging configuration for clap applications.. This library provides a common set of flags for controlling logging in a CLI application, and a default implementation for configuring logging based on those flags using non-blocking tracing-subscriber when the tracing feature is enabled (which is the default).
  6. 6 days agoRelated: interactive-clap-derive See also: clap_builder, lexopt, getopts, bpaf, argfile, pico-args, clap_lex, argyle, clap_derive, getopt3, xflags Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski.It contains data from multiple sources, including heuristics, and manually curated data.Content of this page is not necessarily endorsed by the authors of the crate.
  7. Jan 25, 2025clap-dispatch. Ergonomic way to dispatch CLI subcommands in Rust. Useful when your CLI defines subcommands, all of which should do the same kind of action, just in a different way. I.e., when the subcommands are variants of running a certain action. ... (Parser)] enum Cli {Quick(QuickArgs), Merge(MergeArgs),} Now the point is, both algorithms ...
  8. Jan 23, 2025255,771 downloads per month Used in 37 crates (33 directly). MIT license . 18KB 220 lines. clap-num. clap number parsers. This crate contains functions to validate and parse numerical values from strings provided by clap.. maybe_hex Validates an unsigned integer value that can be base-10 or base-16.; maybe_hex_range Validates an unsigned integer value that can be base-10 or base-16 within a range.
  9. Can’t find what you’re looking for?

    Help us improve DuckDuckGo searches with your feedback

Custom date rangeX