-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
32 lines (28 loc) · 833 Bytes
/
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
[package]
name = "jolt-physics-rs"
version = "0.1.0"
edition = "2021"
[dependencies]
cxx = { version = "1.0", features = ["default", "c++17"] }
glam = { version = "0.29", features = ["approx", "serde"] }
glam-ext = { version = "0.2", optional = true, features = ["approx", "serde"] }
jolt-macros = { path = "./macros" }
libc = "0.2"
serde = { version = "1.0", features = ["derive", "rc"] }
static_assertions = "1.1"
thiserror = "1.0"
[build-dependencies]
cc = { version = "1.0", features = ["parallel"] }
cxx-build = "1.0"
vcvars = "0.1.6"
[features]
default = ["deterministic", "glam-ext"]
# default = ["deterministic", "glam-ext", "debug-renderer", "debug-print"]
deterministic = []
glam-ext = ["dep:glam-ext"]
profile = []
debug-renderer = []
debug-print = []
[[bin]]
name = "jolt-demo"
required-features = ["debug-renderer"]