-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
70 lines (61 loc) · 1.77 KB
/
Cargo.toml
File metadata and controls
70 lines (61 loc) · 1.77 KB
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
[package]
name = "gameengine"
version = "0.3.1"
edition = "2024"
autobins = false
license = "ISC"
description = " A formally verified, deterministic, reversible game/simulation kernel designed as the reference environment layer for Infotheory."
repository = "https://github.com/turtle261/gameengine"
homepage = "https://infotheory.tech/gameengine.html"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] }
[features]
default = []
physics = []
builtin = []
cli = ["builtin"]
parallel = ["dep:rayon"]
render = [
"dep:bytemuck",
"dep:glyphon",
"dep:pollster",
"dep:wasm-bindgen",
"dep:wasm-bindgen-futures",
"dep:web-sys",
"dep:wgpu",
"dep:winit",
]
[dependencies]
bytemuck = { version = "1.24.0", optional = true, features = ["derive"] }
glyphon = { version = "0.10.0", optional = true }
pollster = { version = "0.4.0", optional = true }
rayon = { version = "1.11.0", optional = true }
wgpu = { version = "28.0.0", optional = true }
winit = { version = "0.30.12", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = { version = "0.2.105", optional = true }
wasm-bindgen-futures = { version = "0.4.55", optional = true }
web-sys = { version = "0.3.91", optional = true, features = [
"Document",
"Element",
"HtmlCanvasElement",
"Window",
] }
[dev-dependencies]
criterion = { version = "0.5.1", default-features = false, features = ["cargo_bench_support"] }
[[bin]]
name = "gameengine"
path = "src/bin/gameengine.rs"
required-features = ["cli"]
[[bench]]
name = "step_throughput"
harness = false
required-features = ["builtin"]
[[bench]]
name = "kernel_hotpaths"
harness = false
required-features = ["builtin"]
[[example]]
name = "perf_probe"
path = "examples/perf_probe.rs"
required-features = ["builtin"]