{"id":16358231,"url":"https://github.com/newam/clap-num","last_synced_at":"2025-09-24T05:32:02.275Z","repository":{"id":45195677,"uuid":"283652631","full_name":"newAM/clap-num","owner":"newAM","description":"clap v3/v4 number parsers","archived":false,"fork":false,"pushed_at":"2024-05-07T01:51:09.000Z","size":35,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-11T04:42:29.868Z","etag":null,"topics":["clap","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/newAM.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-30T02:44:46.000Z","updated_at":"2024-12-09T02:29:18.000Z","dependencies_parsed_at":"2024-05-07T02:48:50.994Z","dependency_job_id":null,"html_url":"https://github.com/newAM/clap-num","commit_stats":{"total_commits":31,"total_committers":3,"mean_commits":"10.333333333333334","dds":0.3870967741935484,"last_synced_commit":"4d4afed669f00f61b6a37f63577d5c40ca15df41"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newAM%2Fclap-num","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newAM%2Fclap-num/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newAM%2Fclap-num/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newAM%2Fclap-num/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newAM","download_url":"https://codeload.github.com/newAM/clap-num/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234045264,"owners_count":18770936,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clap","rust"],"created_at":"2024-10-11T02:05:07.924Z","updated_at":"2025-09-24T05:32:02.259Z","avatar_url":"https://github.com/newAM.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![crates.io](https://img.shields.io/crates/v/clap-num.svg)](https://crates.io/crates/clap-num)\n[![docs.rs](https://docs.rs/clap-num/badge.svg)](https://docs.rs/clap-num/)\n[![Build Status](https://github.com/newAM/clap-num/workflows/CI/badge.svg)](https://github.com/newAM/clap-num/actions)\n\n# clap-num\n\nclap number parsers.\n\nThis crate contains functions to validate and parse numerical values from\nstrings provided by [clap].\n\n* `maybe_hex`\n  Validate an unsigned integer value that can be base-10 or base-16.\n* `maybe_hex_range`\n  Validate an unsigned integer value that can be base-10 or base-16 within a range.\n* `maybe_bin`\n  Validate an unsigned integer value that can be base-10 or base-2.\n* `maybe_bin_range`\n  Validate an unsigned integer value that can be base-10 or base-2 within a range.\n* `number_range`\n  Validate a signed or unsigned integer value.\n* `si_number`\n  Validate a signed or unsigned integer value with a metric prefix.\n* `si_number_range`\n  Validate a signed or unsigned integer value with a metric prefix within a range.\n\n[clap]: https://github.com/clap-rs/clap\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewam%2Fclap-num","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewam%2Fclap-num","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewam%2Fclap-num/lists"}