/
Cargo.toml
89 lines (77 loc) · 2.17 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[package]
name = "oort_simulator"
version = "0.79.3"
edition = "2021"
authors = ["Rich Lane"]
description = "A space fleet programming game."
license = "GPL-3.0-or-later"
repository = "https://github.com/rlane/oort3"
publish = false
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
crossbeam = "0.8.3"
getrandom = { version = "0.2.11", features = ["js"] }
log = "0.4.20"
nalgebra = { version = "0.32.3", features = ["serde-serialize"] }
oorandom = "11.1.3"
rand = "0.8.5"
rand_chacha = "0.3.1"
rand_distr = "0.4.3"
rand_seeder = "0.2.3"
rapier2d-f64 = { version = "0.17.2", features = ["wasm-bindgen", "enhanced-determinism"] }
serde = { version = "1.0.193", features = ["derive"] }
instant = "0.1.12"
oort_api = { path = "../api", features = ["serde"] }
wasmer = { version = "4.2.5", default-features = false }
tar = "0.4.40"
libflate = "2.0.0"
walrus = { version = "0.19.0", git = "https://github.com/scrtlabs/walrus", rev = "c5777d4" }
bytes = { version = "1.5.0", features = ["serde"] }
static_aabb2d_index = { version = "2.0.0", features = ["unsafe_optimizations"] }
bitvec = "1.0.1"
wide = "0.7.13"
wasm-submemory = { version = "0.1.0", git = "https://github.com/rlane/wasm-submemory", rev = "4b906bf8c654685ae1d886d8a4d8a39a6495cea3" }
anyhow = "1.0.77"
lazy_static = "1.4.0"
regex = "1.10.2"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
wasmer-compiler-cranelift = { version = "4.2.0" }
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3.66"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4.39"
[dev-dependencies]
bincode = "1.3.3"
rayon = "1.8.0"
criterion = { version = "0.5.1", features = ["html_reports"] }
test-log = "0.2.14"
env_logger = "0.10.1"
serde_json = "1.0.108"
approx = "0.5.1"
wabt = "0.10.0"
testing_logger = "0.1.1"
serial_test = "2.0.0"
[features]
default = ["sys"]
sys = ["wasmer/sys-default"]
js = ["wasmer/js", "wasmer/wat", "wasmer/std", "wasmer/wasm-types-polyfill"]
precompile = []
[[bench]]
name = "bullets"
harness = false
[[bench]]
name = "missiles"
harness = false
[[bench]]
name = "tutorials"
harness = false
[[bench]]
name = "fleet"
harness = false
[[bench]]
name = "stress"
harness = false
[[bench]]
name = "serialization"
harness = false