forked from omerbenamram/evtx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
83 lines (68 loc) · 2.08 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
72
73
74
75
76
77
78
79
80
81
82
83
[package]
name = "evtx"
description = "A Fast (and safe) parser for the Windows XML Event Log (EVTX) format"
homepage = "https://github.com/omerbenamram/EVTX"
repository = "https://github.com/omerbenamram/EVTX"
license = "MIT/Apache-2.0"
readme = "README.md"
version = "0.7.3-alpha.0"
authors = ["Omer Ben-Amram <[email protected]>"]
edition = "2018"
exclude = [
"**/*.evtx",
"**/*.dat",
]
[dependencies]
bitflags = "1.2.1"
crc = "^1.8"
chrono = { version = "0.4", features = ["serde"] }
encoding = "0.2.33"
byteorder = "^1.3"
quick-xml = "^0.22"
thiserror = "1.0"
log = { version = "0.4", features = ["release_max_level_debug"] }
winstructs = "0.3.0"
# Optional for multithreading.
rayon = { version = "1.5.0", optional = true }
# `evtx_dump` dependencies
anyhow = { version = "1.0", optional = true }
simplelog = { version = "0.9.0", optional = true }
clap = { version = "2.33.3", optional = true }
dialoguer = { version = "0.8.0", optional = true }
indoc = { version = "1.0", optional = true }
serde = "1.0"
serde_json = "1.0"
[target.'cfg(not(windows))'.dependencies]
# jemalloc is significantly more peformant than the system allocator.
jemallocator = { version = "0.3.2", optional = true }
[target.'cfg(windows)'.dependencies]
# jemalloc is significantly more peformant than the system allocator.
rpmalloc = { version = "0.2.0", optional = true }
[features]
default = ["multithreading", "evtx_dump"]
fast-alloc = ["jemallocator", "rpmalloc"]
evtx_dump = ["simplelog", "clap", "dialoguer", "indoc", "anyhow"]
multithreading = ["rayon"]
[dev-dependencies]
pretty_assertions = "0.7"
criterion = "0.3.3"
assert_cmd = "1.0.2"
predicates = "1.0.5"
env_logger = "0.8.2"
tempfile = "3.1.0"
[profile.release]
opt-level = 3
codegen-units = 1
lto = "thin"
# rexpect relies on unix process semantics, but it's only used for process interaction tests.
[target.'cfg(not(target_os = "windows"))'.dev-dependencies]
rexpect = "0.4.0"
[build-dependencies]
skeptic = "0.13.5"
[[bin]]
name = "evtx_dump"
required-features = ["evtx_dump"]
[[bench]]
name = "benchmark"
path = "./src/benches/benchmark.rs"
harness = false