add utilities for stripping path prefixes from filenames

This commit is contained in:
Chris Beck
2025-12-15 23:56:10 -07:00
parent 9a449a7e0a
commit e2d7d6bb8c
5 changed files with 456 additions and 1 deletions
Generated
+24
View File
@@ -117,6 +117,16 @@ version = "2.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
[[package]]
name = "bstr"
version = "1.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "63044e1ae8e69f3b5a92c736ca6269b8d12fa7efe39bf34ddb06d102cf0e2cab"
dependencies = [
"memchr",
"serde",
]
[[package]]
name = "bumpalo"
version = "3.19.0"
@@ -615,6 +625,19 @@ dependencies = [
"wasm-bindgen",
]
[[package]]
name = "globset"
version = "0.4.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "52dfc19153a48bde0cbd630453615c8151bce3a5adfac7a0aebfbf0a1e1f57e3"
dependencies = [
"aho-corasick",
"bstr",
"log",
"regex-automata",
"regex-syntax",
]
[[package]]
name = "go-parse-duration"
version = "0.1.1"
@@ -1820,6 +1843,7 @@ version = "0.1.0"
dependencies = [
"chrono",
"conf",
"globset",
"serde",
"serde_json",
"signal-gateway",