Crates.io | clap-num |
lib.rs | clap-num |
version | |
source | src |
created_at | 2020-07-30 03:37:15.189342+00 |
updated_at | 2025-01-23 01:26:24.422939+00 |
description | Number parsers for clap |
homepage | |
repository | https://github.com/newAM/clap-num/ |
max_upload_size | |
id | 271178 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.maybe_bin
Validates an unsigned integer value that can be base-10 or base-2.maybe_bin_range
Validates an unsigned integer value that can be base-10 or base-2 within a range.number_range
Validate a signed or unsigned integer value.si_number
Validate a signed or unsigned integer value with a metric prefix.si_number_range
Validate a signed or unsigned integer value with a metric prefix within a range.