forked from serde-rs/json-benchmark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
39 lines (35 loc) · 1 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
[package]
name = "json-benchmark"
version = "0.0.1"
authors = ["dtolnay@gmail.com"]
edition = "2021"
publish = false
[dependencies]
getopts = "0.2"
jemallocator = "0.5"
rustc-serialize = { version = "0.3", optional = true }
serde = { path = "../serde/serde", version = "1.0", features = ["derive"], optional = true }
serde_json = { path = "../json", version = "1.0", optional = true }
simd-json = { version = "0.12", optional = true }
iex = { path = "/home/purplesyringa/iex" }
[features]
default = ["performance", "all-libs", "all-files"]
all-libs = ["lib-serde"]
all-files = ["file-canada", "file-citm-catalog", "file-twitter"]
performance = ["parse-dom", "parse-struct"]
lib-serde = ["serde", "serde_json"]
lib-simd-json = ["serde", "simd-json"]
lib-rustc-serialize = ["rustc-serialize"]
file-canada = []
file-citm-catalog = []
file-twitter = []
parse-dom = []
stringify-dom = []
parse-struct = []
stringify-struct = []
zero-copy = []
[profile.release]
debug = true
# panic = "abort"
[workspace]
members = ["binary"]