Skip to content

Commit

Permalink
feature: use winnow to parse nginx log
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrchen committed May 19, 2024
1 parent d31821d commit b6f5e6a
Show file tree
Hide file tree
Showing 3 changed files with 540 additions and 1 deletion.
312 changes: 312 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@ name = "grammar"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "log2"
path = "src/nginx_log2.rs"


[dependencies]
anyhow = "1.0.86"
chrono = { version = "0.4.38", features = ["serde"] }
regex = "1.10.4"
winnow = { version = "0.6.8", features = ["simd"] }
Loading

0 comments on commit b6f5e6a

Please sign in to comment.