2 个不稳定版本

0.1.0 2022 年 6 月 20 日
0.0.0 2022 年 6 月 12 日

#26 in #turn

Download history · Rust 包仓库 2273/week @ 2024-03-13 · Rust 包仓库 2553/week @ 2024-03-20 · Rust 包仓库 2518/week @ 2024-03-27 · Rust 包仓库 1360/week @ 2024-04-03 · Rust 包仓库 1497/week @ 2024-04-10 · Rust 包仓库 1568/week @ 2024-04-17 · Rust 包仓库 1951/week @ 2024-04-24 · Rust 包仓库 978/week @ 2024-05-01 · Rust 包仓库 3048/week @ 2024-05-08 · Rust 包仓库 2207/week @ 2024-05-15 · Rust 包仓库 2161/week @ 2024-05-22 · Rust 包仓库 1876/week @ 2024-05-29 · Rust 包仓库 1746/week @ 2024-06-05 · Rust 包仓库 1650/week @ 2024-06-12 · Rust 包仓库 1888/week @ 2024-06-19 · Rust 包仓库 2215/week @ 2024-06-26 · Rust 包仓库

7,930 每月下载量

Apache-2.0

18KB
413 代码行

globiter 构建状态 最新版本

globiter 将 glob 范围和集合转换为迭代器。

快速开始

let pattern = Pattern::parse("https://example.com/{a,b,c}/file/[001-003]")?;
for i in pattern.iter() {
    println("{i}")
}
// Output:
// https://example.com/a/file/001
// https://example.com/a/file/002
// https://example.com/a/file/003
// https://example.com/b/file/001
// ...
// https://example.com/c/file/003

贡献

查看 CONTRIBUTING.md 指南以获取有关如何开始为此项目贡献的更多详细信息。

寻求帮助

提交 问题 进行错误报告或在 讨论 中提问。

许可协议

Apache 许可证,版本 2.0 下授权。

依赖项

~555KB
~10K SLoC