{"id":24857423,"url":"https://github.com/vstroebel/de-regex","last_synced_at":"2025-03-26T15:52:39.066Z","repository":{"id":39886104,"uuid":"362766515","full_name":"vstroebel/de-regex","owner":"vstroebel","description":"Regular expression based deserialization for serde","archived":false,"fork":false,"pushed_at":"2022-05-23T13:01:11.000Z","size":29,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T21:39:05.606Z","etag":null,"topics":["regular-expression","rust","serde"],"latest_commit_sha":null,"homepage":"","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/vstroebel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-29T09:43:47.000Z","updated_at":"2022-05-23T13:01:15.000Z","dependencies_parsed_at":"2022-09-10T09:00:39.031Z","dependency_job_id":null,"html_url":"https://github.com/vstroebel/de-regex","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/vstroebel%2Fde-regex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vstroebel%2Fde-regex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vstroebel%2Fde-regex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vstroebel%2Fde-regex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vstroebel","download_url":"https://codeload.github.com/vstroebel/de-regex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245689455,"owners_count":20656414,"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":["regular-expression","rust","serde"],"created_at":"2025-01-31T17:53:41.428Z","updated_at":"2025-03-26T15:52:39.031Z","avatar_url":"https://github.com/vstroebel.png","language":"Rust","readme":"# De-Regex\n\n[![docs.rs badge](https://docs.rs/de-regex/badge.svg)](https://docs.rs/de-regex/)\n[![crates.io badge](https://img.shields.io/crates/v/de-regex.svg)](https://crates.io/crates/de-regex/)\n[![Rust](https://github.com/vstroebel/de-regex/actions/workflows/rust.yml/badge.svg)](https://github.com/vstroebel/de-regex/actions/workflows/rust.yml)\n\nThis crate contains a library that deserializes a string into a struct based on a regular expression and serde.\n\n## Example\n\n```rust\nuse serde::Deserialize;\n\n#[derive(Deserialize)]\nstruct Dimensions {\n    width: u32,\n    height: u32\n}\n\nlet pattern = r\"^(?P\u003cwidth\u003e\\d+)x(?P\u003cheight\u003e\\d+)$\";\nlet input = \"800x600\";\n\nlet dim: Dimensions = de_regex::from_str(input, pattern).unwrap();\n\nassert_eq!(dim.width, 800);\nassert_eq!(dim.height, 600);\n```\n\n## License\n\nThis project is licensed under either of\n\n* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or https://www.apache.org/licenses/LICENSE-2.0)\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or https://opensource.org/licenses/MIT)\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in de-regexp by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvstroebel%2Fde-regex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvstroebel%2Fde-regex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvstroebel%2Fde-regex/lists"}