{"id":17860308,"url":"https://github.com/svartalf/rust-claim","last_synced_at":"2025-04-05T21:09:10.236Z","repository":{"id":38350526,"uuid":"245626713","full_name":"svartalf/rust-claim","owner":"svartalf","description":"Assertion macros toolkit for Rust","archived":false,"fork":false,"pushed_at":"2023-02-11T16:24:29.000Z","size":58,"stargazers_count":77,"open_issues_count":4,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T20:06:43.807Z","etag":null,"topics":["assert","assertions","macros","rust-lang"],"latest_commit_sha":null,"homepage":"https://docs.rs/claim","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/svartalf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE-APACHE","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},"funding":{"liberapay":"svartalf","patreon":"svartalf","custom":["https://svartalf.info/donate/","https://www.buymeacoffee.com/svartalf"]}},"created_at":"2020-03-07T12:13:37.000Z","updated_at":"2025-02-22T06:34:43.000Z","dependencies_parsed_at":"2024-06-19T02:58:29.415Z","dependency_job_id":null,"html_url":"https://github.com/svartalf/rust-claim","commit_stats":{"total_commits":24,"total_committers":3,"mean_commits":8.0,"dds":0.125,"last_synced_commit":"c3f664c283587ffac91d0346d430cc7471fb6a75"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svartalf%2Frust-claim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svartalf%2Frust-claim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svartalf%2Frust-claim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svartalf%2Frust-claim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svartalf","download_url":"https://codeload.github.com/svartalf/rust-claim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399878,"owners_count":20932880,"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":["assert","assertions","macros","rust-lang"],"created_at":"2024-10-28T07:42:19.421Z","updated_at":"2025-04-05T21:09:10.215Z","avatar_url":"https://github.com/svartalf.png","language":"Rust","funding_links":["https://liberapay.com/svartalf","https://patreon.com/svartalf","https://svartalf.info/donate/","https://www.buymeacoffee.com/svartalf"],"categories":[],"sub_categories":[],"readme":"# claim\n\n\u003e Missing assertion macros for Rust\n\n[![Latest Version](https://img.shields.io/crates/v/claim.svg)](https://crates.io/crates/claim)\n[![Latest Version](https://docs.rs/claim/badge.svg)](https://docs.rs/claim)\n[![Build Status](https://github.com/svartalf/rust-claim/workflows/Continuous%20integration/badge.svg)](https://github.com/svartalf/rust-claim/actions)\n![Apache 2.0 OR MIT licensed](https://img.shields.io/badge/license-Apache2.0%2FMIT-blue.svg)\n![no-std compatible](https://img.shields.io/badge/no--std-compatible-brightgreen)\n![Version compatibility](https://img.shields.io/badge/Rust-1.0%2B-blue)\n\nThis crate provides assertion macros that are missing in the Rust `libcore` / `libstd`:\n\n * Comparison: `assert_ge`, `assert_gt`, `assert_le`, and `assert_lt`\n * Matching: `assert_matches`\n * `Result`: `assert_ok`, `assert_err`, and `assert_ok_eq`\n * `Option`: `assert_some`, `assert_none`, and `assert_some_eq`\n * `Poll`: `assert_pending`, `assert_ready`, `assert_ready_ok`, `assert_ready_err`, and `assert_ready_eq`\n\n## Installation\n\nAdd the following to your `Cargo.toml` manifest\nto use this crate for tests, examples and benchmarks:\n\n```toml\n[dev-dependencies]\nclaim = \"0.5\"\n```\n\n## Usage\n\nCheck out the [documentation](https://docs.rs/claim) for available macros and examples.\n\n## License\n\nLicensed under either of [Apache License 2.0](https://github.com/svartalf/rust-claim/blob/master/LICENSE-APACHE)\nor [MIT license](https://github.com/svartalf/rust-claim/blob/master/LICENSE-MIT) at your option.\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you,\nas defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvartalf%2Frust-claim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvartalf%2Frust-claim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvartalf%2Frust-claim/lists"}