-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (45 loc) · 973 Bytes
/
Cargo.toml
File metadata and controls
55 lines (45 loc) · 973 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[workspace]
resolver = "2"
members = ["red_moon_cli", "red_moon_mlua"]
[workspace.package]
version = "0.1.0"
[package]
name = "red_moon"
version.workspace = true
edition = "2021"
[dependencies]
indexmap = "2"
slotmap = "1"
downcast = "0.11"
cpu-time = "1"
rustc-hash = "2"
serde = { version = "1", features = ["derive"], optional = true }
thin-vec = { version = "0.2", features = ["serde"] }
erasable = "1"
slice-dst = "1"
bitflags = "2"
[dev-dependencies]
pretty_assertions = "1"
bincode = "1"
rmp-serde = "1"
ron = "0.8"
[features]
# separate feature as it affects performance
instruction_metrics = []
serde = ["dep:serde", "slotmap/serde", "indexmap/serde"]
default = ["serde"]
[lints]
workspace = true
[workspace.lints.clippy]
redundant_closure = "allow"
type_complexity = "allow"
[profile.release]
panic = "abort"
codegen-units = 1
lto = true
[profile.performance]
inherits = "release"
strip = true
[profile.profiling]
inherits = "release"
debug = "limited"