{"id":26811211,"url":"https://github.com/boltlabs-inc/vesta","last_synced_at":"2025-03-30T01:23:19.177Z","repository":{"id":53037137,"uuid":"354157067","full_name":"boltlabs-inc/vesta","owner":"boltlabs-inc","description":"Extensible pattern matching in Rust","archived":false,"fork":false,"pushed_at":"2021-04-08T21:38:40.000Z","size":52,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-04-30T17:45:58.778Z","etag":null,"topics":["case","extensible","library","macro","matching","pattern","pattern-matching","rust","rust-crate","rust-lang","rust-patterns","trait"],"latest_commit_sha":null,"homepage":"https://docs.rs/vesta","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/boltlabs-inc.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}},"created_at":"2021-04-02T23:32:37.000Z","updated_at":"2021-05-10T06:46:53.000Z","dependencies_parsed_at":"2022-08-24T01:20:51.489Z","dependency_job_id":null,"html_url":"https://github.com/boltlabs-inc/vesta","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boltlabs-inc%2Fvesta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boltlabs-inc%2Fvesta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boltlabs-inc%2Fvesta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boltlabs-inc%2Fvesta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boltlabs-inc","download_url":"https://codeload.github.com/boltlabs-inc/vesta/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245966908,"owners_count":20701758,"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":["case","extensible","library","macro","matching","pattern","pattern-matching","rust","rust-crate","rust-lang","rust-patterns","trait"],"created_at":"2025-03-30T01:23:18.461Z","updated_at":"2025-03-30T01:23:19.170Z","avatar_url":"https://github.com/boltlabs-inc.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vesta\n\n[![Rust](https://github.com/boltlabs-inc/vesta/actions/workflows/rust.yml/badge.svg)](https://github.com/boltlabs-inc/vesta/actions/workflows/rust.yml)\n![license: MIT](https://img.shields.io/github/license/boltlabs-inc/vesta)\n[![crates.io](https://img.shields.io/crates/v/vesta)](https://crates.io/crates/vesta)\n[![docs.rs documentation](https://docs.rs/vesta/badge.svg)](https://docs.rs/vesta)\n\n\u003e A **vesta**, otherwise known as a *match case*, is a small container for matches, named\n\u003e after the Roman goddess of the hearth.\n\u003e\n\u003e **Vesta** is a crate for extensibly *matching cases* in Rust.\n\nBy implementing `Match` and `Case` for some type (or better yet, correctly deriving them using the\n`Match` derive macro), you can pattern-match on that type using the `case!` macro almost like using\nthe `match` keyword built into Rust.\n\nHowever, Vesta's `case!` macro is more general than `match`, because `Match` and `Case` are traits!\nThis means you can enable pattern-matching for types which are not literally implemented as `enum`s,\nand you can write code which is generic over any type that is pattern-matchable.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboltlabs-inc%2Fvesta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboltlabs-inc%2Fvesta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboltlabs-inc%2Fvesta/lists"}