-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
71 lines (61 loc) · 1.94 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[package]
name = "cloudfront-logs"
description = "AWS CloudFront log line parser"
version = "0.9.0"
edition = "2021"
readme = "README.md"
homepage = "https://github.com/asaaki/cloudfront-logs"
repository = "https://github.com/asaaki/cloudfront-logs"
categories = [
"parser-implementations",
"data-structures",
"encoding",
"rust-patterns",
"value-formatting",
]
keywords = ["cloudfront", "log", "parser", "aws", "parquet"]
license = "MIT OR Apache-2.0"
exclude = [".assets/*", ".github/*"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
# docs.rs-specific configuration
[package.metadata.docs.rs]
# document all features
all-features = true
# defines the configuration attribute `docsrs`
rustdoc-args = ["--cfg", "docsrs"]
[[bench]]
name = "brwv"
path = "benches/borrowed-real-world-validated.rs"
harness = false
[[bench]]
name = "brwu"
path = "benches/borrowed-real-world-unvalidated.rs"
harness = false
[features]
# for now we enable all features by default;
# this might change in the future.
# use default-features = false + features = ["..."] to narrow it to your needs
default = ["alloc", "time", "chrono", "parquet"]
# when you need owned versions of the structured log data; enabled by default
alloc = []
# use typed variants with time's date and time types
time = ["alloc", "dep:time"]
# use typed variants with chrono's date and time types;
# also needed for parquet support as well
chrono = ["alloc", "dep:chrono"]
# provides parquet (record writer) support
parquet = [
"dep:parquet",
"dep:parquet_derive",
"chrono",
]
[dependencies]
memchr = "2.7.4"
time = { version = "0.3.37", features = ["parsing", "macros"], optional = true }
strum = { version = "0.26.3", features = ["derive"] }
chrono = { version = "0.4.39", optional = true }
parquet = { version = "54.0.0", optional = true }
parquet_derive = { version = "54.0.0", optional = true }
self_cell = "1.1.0"
[dev-dependencies]
divan = "0.1.17"