-
-
Notifications
You must be signed in to change notification settings - Fork 104
Expand file tree
/
Copy pathCargo.toml
More file actions
34 lines (28 loc) · 629 Bytes
/
Cargo.toml
File metadata and controls
34 lines (28 loc) · 629 Bytes
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
[package]
name = "json_polyglot_rs"
version = "0.0.0"
edition = "2021"
# Standalone — keeps this Cargo.toml out of the perry workspace so a
# parent workspace tree can't drag this benchmark crate's dependencies
# into the main build.
[workspace]
[[bin]]
name = "bench"
path = "bench.rs"
[[bin]]
name = "bench_field_access"
path = "bench_field_access.rs"
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
[profile.release]
opt-level = 3
lto = false
codegen-units = 16
[profile.release-aggressive]
inherits = "release"
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true