| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
name = "clap-num" |
| 15 |
version = "1.2.0" |
| 16 |
authors = ["Alex Martens <[email protected]>"] |
| 17 |
build = false |
| 18 |
autolib = false |
| 19 |
autobins = false |
| 20 |
autoexamples = false |
| 21 |
autotests = false |
| 22 |
autobenches = false |
| 23 |
description = "Number parsers for clap" |
| 24 |
readme = "README.md" |
| 25 |
keywords = [ |
| 26 |
"argument", |
| 27 |
"cli", |
| 28 |
"arg", |
| 29 |
"parser", |
| 30 |
"parse", |
| 31 |
] |
| 32 |
categories = ["command-line-interface"] |
| 33 |
license = "MIT" |
| 34 |
repository = "https://github.com/newAM/clap-num/" |
| 35 |
|
| 36 |
[lib] |
| 37 |
name = "clap_num" |
| 38 |
path = "src/lib.rs" |
| 39 |
|
| 40 |
[[example]] |
| 41 |
name = "change" |
| 42 |
path = "examples/change.rs" |
| 43 |
|
| 44 |
[[example]] |
| 45 |
name = "resistance" |
| 46 |
path = "examples/resistance.rs" |
| 47 |
|
| 48 |
[[test]] |
| 49 |
name = "maybe_bin" |
| 50 |
path = "tests/maybe_bin.rs" |
| 51 |
|
| 52 |
[[test]] |
| 53 |
name = "maybe_hex" |
| 54 |
path = "tests/maybe_hex.rs" |
| 55 |
|
| 56 |
[[test]] |
| 57 |
name = "number_range" |
| 58 |
path = "tests/number_range.rs" |
| 59 |
|
| 60 |
[[test]] |
| 61 |
name = "si_number" |
| 62 |
path = "tests/si_number.rs" |
| 63 |
|
| 64 |
[dependencies.num-traits] |
| 65 |
version = "0.2" |
| 66 |
|
| 67 |
[dev-dependencies.clap] |
| 68 |
version = "4" |
| 69 |
features = ["derive"] |