-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
47 lines (39 loc) · 1.26 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
40
41
42
43
44
45
46
47
[package]
name = "rocketsim_rs"
description = "Rust bindings for the RocketSim project"
version = "0.33.3"
edition = "2021"
license = "MIT"
repository = "https://github.com/VirxEC/rocketsim-rs"
exclude = [".git*", "CMake*", "collision_meshes", "rustfmt.toml", "*.py", "python", "tests", "MANIFEST.in"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
cxx = { version = "1.0.83", features = ["c++20"] }
glam = { version = "0.29.0", optional = true }
serde = { version = "1.0.195", optional = true, features = ["derive"] }
[build-dependencies]
glob = "0.3.0"
cc = { version = "1.0.83", features = ["parallel"] }
cxx-build = "1.0.122"
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
[features]
default = ["debug_logging", "bin"]
debug_logging = []
glam = ["dep:glam"]
bin = []
serde_utils = ["serde"]
[target.'cfg(not(any(target_arch = "x86", target_arch = "x86_64")))'.dependencies]
# use glam with experimental support for portable SIMD when not running on x86
# architectures
glam = { version = "0.29.0", optional = true, features = ["core-simd"] }
[dev-dependencies]
byteorder = "1.4.3"
ctrlc = "3.3.1"
rand = "0.8.5"
serde_json = "1.0.111"
[[example]]
name = "rlviser_socket"
required-features = ["bin"]