{"id":13648506,"url":"https://github.com/sarah-quinones/equator","last_synced_at":"2025-07-04T13:04:55.571Z","repository":{"id":208125552,"uuid":"720872833","full_name":"sarah-quinones/equator","owner":"sarah-quinones","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-21T15:25:38.000Z","size":57,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-04T11:56:41.127Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/sarah-quinones.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null}},"created_at":"2023-11-19T21:08:30.000Z","updated_at":"2025-03-09T01:49:22.000Z","dependencies_parsed_at":"2023-12-01T18:42:05.981Z","dependency_job_id":"b192c58d-bcac-4d2f-99df-9f119704c4f3","html_url":"https://github.com/sarah-quinones/equator","commit_stats":null,"previous_names":["sarah-ek/equator","sarah-quinones/equator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sarah-quinones/equator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarah-quinones%2Fequator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarah-quinones%2Fequator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarah-quinones%2Fequator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarah-quinones%2Fequator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sarah-quinones","download_url":"https://codeload.github.com/sarah-quinones/equator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarah-quinones%2Fequator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263548506,"owners_count":23478780,"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":[],"created_at":"2024-08-02T01:04:18.818Z","updated_at":"2025-07-04T13:04:55.551Z","avatar_url":"https://github.com/sarah-quinones.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# equator\n\n`equator` is an assertion library that aims to provide helpful diagnostics when\nmultiple conditions need to be asserted at once, without short-circuiting.\n\nValid assertions must be of the form:\n\n - `cond` for testing a single condition,\n - `all(...)` for testing that multiple conditions all hold simultaneously,\n - `any(...)` for testing that at least one condition holds.\n\n`all` and `any` may be arbitrarily nested.\n\n# Example\n```\nlet x = 0;\nlet y = 1;\n\nlet a = 4;\nlet b = 2;\n\n// `equator::debug_assert!` is also available for debug-only assertions\nequator::assert!(all(x == y, a \u003c b));\n```\n\nThis should panic with an error message like\n```\nAssertion failed at path/main.rs:8:1\nAssertion failed: x == y\n- x = 0\n- y = 1\nAssertion failed: a \u003c b\n- a = 4\n- b = 2\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarah-quinones%2Fequator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsarah-quinones%2Fequator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarah-quinones%2Fequator/lists"}