A rust macro that allows regular expression creation through independent files. Allows fully typed named groups.
add requirements for cargo publish
3 files changed, +28 -2
+1-1Cargo.lock
| @@ -78,7 +78,7 @@ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" | ||
| 78 | 78 | |
| 79 | 79 | [[package]] |
| 80 | 80 | name = "regex_macro" |
| 81 | -version = "0.1.0" | |
| 81 | +version = "0.1.1" | |
| 82 | 82 | dependencies = [ |
| 83 | 83 | "lazy_static", |
| 84 | 84 | "proc-macro2", |
+6-1Cargo.toml
| @@ -1,6 +1,11 @@ | ||
| 1 | 1 | [package] |
| 2 | 2 | name = "regex_macro" |
| 3 | -version = "0.1.0" | |
| 3 | +description = "Generate code from regular expressions inside a folder with files ending in .re." | |
| 4 | +repository = "https://github.com/huncholane/regex_macro" | |
| 5 | +license = "MIT or Apache-2.0" | |
| 6 | +documentation = "https://docs.rs/regex_macro" | |
| 7 | +homepage = "https://github.com/huncholane/regex_macro" | |
| 8 | +version = "0.1.1" | |
| 4 | 9 | edition = "2021" |
| 5 | 10 | |
| 6 | 11 | [dependencies] |
+21-0LICENSE
| @@ -0,0 +1,21 @@ | ||
| 1 | +MIT License | |
| 2 | + | |
| 3 | +Copyright (c) 2025 Huncholane | |
| 4 | + | |
| 5 | +Permission is hereby granted, free of charge, to any person obtaining a copy | |
| 6 | +of this software and associated documentation files (the "Software"), to deal | |
| 7 | +in the Software without restriction, including without limitation the rights | |
| 8 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| 9 | +copies of the Software, and to permit persons to whom the Software is | |
| 10 | +furnished to do so, subject to the following conditions: | |
| 11 | + | |
| 12 | +The above copyright notice and this permission notice shall be included in all | |
| 13 | +copies or substantial portions of the Software. | |
| 14 | + | |
| 15 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 16 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 17 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
| 18 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 19 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
| 20 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
| 21 | +SOFTWARE. |