Merge pull request #167 from fuad1502/dmesg-filter

Support `dmesg` filtering options (`--facility`, `--level`, `--since`, and `--until` options).
This commit is contained in:
Daniel Hofstetter
2024-12-15 14:43:43 +01:00
committed by GitHub
6 changed files with 492 additions and 71 deletions
Generated
+28
View File
@@ -405,6 +405,12 @@ version = "2.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
[[package]]
name = "minimal-lexical"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
[[package]]
name = "nix"
version = "0.29.0"
@@ -417,6 +423,16 @@ dependencies = [
"libc",
]
[[package]]
name = "nom"
version = "7.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
dependencies = [
"memchr",
"minimal-lexical",
]
[[package]]
name = "ntapi"
version = "0.4.1"
@@ -482,6 +498,17 @@ dependencies = [
"unicode-width 0.2.0",
]
[[package]]
name = "parse_datetime"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8720474e3dd4af20cea8716703498b9f3b690f318fa9d9d9e2e38eaf44b96d0"
dependencies = [
"chrono",
"nom",
"regex",
]
[[package]]
name = "phf"
version = "0.11.2"
@@ -1012,6 +1039,7 @@ version = "0.0.1"
dependencies = [
"chrono",
"clap",
"parse_datetime",
"regex",
"serde",
"serde_json",