{"id":13998145,"url":"https://github.com/denoland/rust-urlpattern","last_synced_at":"2025-10-04T00:53:49.981Z","repository":{"id":40468407,"uuid":"395991651","full_name":"denoland/rust-urlpattern","owner":"denoland","description":"Rust implementation of the `URLPattern` web API","archived":false,"fork":false,"pushed_at":"2025-09-17T13:57:07.000Z","size":93,"stargazers_count":65,"open_issues_count":7,"forks_count":23,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-09-19T21:39:26.365Z","etag":null,"topics":["rust","urlpattern","web"],"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/denoland.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":"2021-08-14T11:44:27.000Z","updated_at":"2025-09-17T13:57:12.000Z","dependencies_parsed_at":"2024-12-14T21:02:52.735Z","dependency_job_id":"0a34376f-66c9-4f3a-9acd-b1772077f987","html_url":"https://github.com/denoland/rust-urlpattern","commit_stats":{"total_commits":42,"total_committers":11,"mean_commits":"3.8181818181818183","dds":0.5952380952380952,"last_synced_commit":"2ba16e768b1abcbb73d84df31f57475faba15f71"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/denoland/rust-urlpattern","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denoland%2Frust-urlpattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denoland%2Frust-urlpattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denoland%2Frust-urlpattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denoland%2Frust-urlpattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denoland","download_url":"https://codeload.github.com/denoland/rust-urlpattern/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denoland%2Frust-urlpattern/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278250089,"owners_count":25955840,"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","status":"online","status_checked_at":"2025-10-03T02:00:06.070Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["rust","urlpattern","web"],"created_at":"2024-08-09T19:01:25.710Z","updated_at":"2025-10-04T00:53:49.947Z","avatar_url":"https://github.com/denoland.png","language":"Rust","readme":"# urlpattern\n\nThis crate implements the [`URLPattern` web API][urlpattern] in Rust. We aim to\nfollow [the specification][spec] as closely as possible.\n\n[urlpattern]: https://github.com/WICG/urlpattern\n[spec]: https://wicg.github.io/urlpattern/\n\n## Example\n\n```rust\nuse urlpattern::UrlPattern;\nuse urlpattern::UrlPatternInput;\nuse urlpattern::UrlPatternInit;\n\nuse urlpattern::UrlPattern;\nuse urlpattern::UrlPatternInit;\nuse urlpattern::UrlPatternMatchInput;\n\nfn main() {\n  // Create the UrlPattern to match against.\n  let init = UrlPatternInit {\n    pathname: Some(\"/users/:id\".to_owned()),\n    ..Default::default()\n  };\n  let pattern = \u003cUrlPattern\u003e::parse(init).unwrap();\n\n  // Match the pattern against a URL.\n  let url = \"https://example.com/users/123\".parse().unwrap();\n  let result = pattern.exec(UrlPatternMatchInput::Url(url)).unwrap().unwrap();\n  assert_eq!(result.pathname.groups.get(\"id\").unwrap(), \"123\");\n}\n```\n\n## Contributing\n\nWe appreciate your help!\n\nThe code of conduct from the Deno repository applies here too:\nhttps://github.com/denoland/deno/blob/main/.github/CODE_OF_CONDUCT.md.\n","funding_links":[],"categories":["Rust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenoland%2Frust-urlpattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenoland%2Frust-urlpattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenoland%2Frust-urlpattern/lists"}