-
Notifications
You must be signed in to change notification settings - Fork 17
/
Cargo.toml
108 lines (90 loc) · 2.48 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[package]
name = "tf-demo-parser"
description = "parser for tf2 demo files"
version = "0.5.1"
authors = ["Robin Appelman <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/demostf/parser"
exclude = ["tests/fuzz", "test_data"]
default-run = "parse_demo"
rust-version = "1.70.0"
[lib]
name = "tf_demo_parser"
path = "src/lib.rs"
[[bin]]
name = "parse_demo"
path = "src/bin/main.rs"
[[bin]]
name = "reencode_demo"
path = "src/bin/reencode.rs"
[[bin]]
name = "gamestate"
path = "src/bin/gamestate.rs"
[[bin]]
name = "schema"
path = "src/bin/schema.rs"
required-features = ["schema"]
[[bin]]
name = "codegen"
path = "src/bin/codegen.rs"
required-features = ["codegen"]
[[bin]]
name = "strings"
path = "src/bin/strings.rs"
[dependencies]
bitbuffer = { version = "0.11.0", features = ["serde"] }
num_enum = "0.7.2"
num-traits = "0.2.19"
enumflags2 = { version = "0.7.10", features = ["serde"] }
snap = "1.1.1"
serde = { version = "1.0.203", features = ["derive", "rc"] }
serde_json = "1.0.117"
serde_repr = "0.1.19"
err-derive = "0.3.1"
parse-display = "0.9.1"
main_error = "0.1.2"
jemallocator = { version = "0.5.4", optional = true }
better-panic = { version = "0.3.0", optional = true }
no-panic = { version = "0.1.30", optional = true }
fnv = "1.0.7"
steamid-ng = "1.0.0"
tracing = { version = "0.1.40", optional = true }
tracing-subscriber = { version = "0.3.18", features = ["env-filter"], optional = true }
itertools = "0.13.0"
# schema
schemars = { version = "0.8.21", optional = true }
# codegen
quote = { version = "1", optional = true }
syn = { version = "2", features = ["full"], optional = true }
Inflector = { version = "0.11", default-features = false, optional = true }
proc-macro2 = { version = "1", optional = true }
tempfile = { version = "3", optional = true }
lazy_static = { version = "1", optional = true }
prettyplease = { version = "0.2", optional = true }
[features]
schema = ["schemars", "bitbuffer/schemars"]
trace = ["tracing", "tracing-subscriber"]
codegen = ["better-panic", "quote", "syn", "Inflector", "proc-macro2", "tempfile", "lazy_static", "prettyplease"]
[dev-dependencies]
pretty_assertions = "1.4.0"
test-case = "3.3.1"
iai = "0.1.1"
criterion = "0.5.1"
insta = { version = "1.39.0", features = ["json"] }
[profile.release]
lto = "thin"
[profile.dev]
opt-level = 2
[[bench]]
name = "iai"
harness = false
[[bench]]
name = "allmessages"
harness = false
[[bench]]
name = "bench"
harness = false
[[bench]]
name = "sendprop"
harness = false