{"id":15099885,"url":"https://github.com/thechampagne/zure","last_synced_at":"2026-01-07T13:03:01.986Z","repository":{"id":240244305,"uuid":"802041740","full_name":"thechampagne/zure","owner":"thechampagne","description":"⚡ Zig binding for rust regex engine.","archived":false,"fork":false,"pushed_at":"2024-05-24T10:04:58.000Z","size":645,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T17:30:31.202Z","etag":null,"topics":["library","regex","regex-engine","zig","ziglang"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/thechampagne.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}},"created_at":"2024-05-17T12:06:14.000Z","updated_at":"2024-11-16T10:27:30.000Z","dependencies_parsed_at":"2024-05-19T18:30:11.434Z","dependency_job_id":"af539166-0976-4443-bc96-c2063d753966","html_url":"https://github.com/thechampagne/zure","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"c3aeb94c3fccc4672da5929ed900938ebbfbcea9"},"previous_names":["thechampagne/zure"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thechampagne/zure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thechampagne%2Fzure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thechampagne%2Fzure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thechampagne%2Fzure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thechampagne%2Fzure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thechampagne","download_url":"https://codeload.github.com/thechampagne/zure/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thechampagne%2Fzure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28235502,"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":"2026-01-07T02:00:05.975Z","response_time":58,"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":["library","regex","regex-engine","zig","ziglang"],"created_at":"2024-09-25T17:40:32.500Z","updated_at":"2026-01-07T13:03:01.955Z","avatar_url":"https://github.com/thechampagne.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zure\n\n\u003cimg align=\"left\" style=\"width:290px\" src=\"https://raw.githubusercontent.com/thechampagne/zure/main/.github/assets/logo.jpg\" width=\"290px\"\u003e\n\n**Rust regex**\n\nThis library provides routines for searching strings for matches of a [regular expression](https://en.wikipedia.org/wiki/Regular_expression) (aka \"regex\").\n\nThe regex syntax supported by this library is similar to other regex engines, but it lacks several features that are not known how to implement efficiently.\n\nThis includes, but is not limited to, look-around and backreferences.\n\nIn exchange, all regex searches in this library have worst case `O(m * n)` time complexity, where `m` is proportional to the size of the regex and `n` is proportional to the size of the string being searched.\n\n---\n\n\u003cbr\u003e\n\n[![](https://img.shields.io/github/license/thechampagne/zure)](https://github.com/thechampagne/zure/blob/main/LICENSE)\n\nZig binding for rust **regex** engine.\n\n### Usage\n\nBuild rust regex library:\n```sh\n$ git clone git://github.com/rust-lang/regex\n$ cd regex/regex-capi\n$ cargo build --release # it exist in ../target/release [librure.so, librure.a]\n```\nbuild.zig.zon:\n```zig\n.{\n    .dependencies = .{\n        .zure = .{\n            .url = \"https://github.com/thechampagne/zure/archive/refs/heads/main.tar.gz\" ,\n          //.hash = \"12208586373679a455aa8ef874112c93c1613196f60137878d90ce9d2ae8fb9cd511\",\n        },\n    },\n}\n```\nbuild.zig:\n```zig\nconst zure = b.dependency(\"zure\", .{});\nexe.root_module.addImport(\"zure\", zure.module(\"zure\"));\nexe.addLibraryPath(b.path(\"regex/target/release\"));\nexe.linkSystemLibrary(\"rure\");\n```\n\n### References\n - [rust-regex](https://github.com/rust-lang/regex/)\n\n### License\n\nThis repo is released under the [MIT License](https://github.com/thechampagne/zure/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthechampagne%2Fzure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthechampagne%2Fzure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthechampagne%2Fzure/lists"}