-
Notifications
You must be signed in to change notification settings - Fork 26
/
Cargo.toml
47 lines (39 loc) · 1.16 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
[package]
name = "ggrs"
version = "0.10.2"
authors = ["Georg Schuppe <georg.schuppe@gmail.com>"]
edition = "2021"
description = "GGRS is a reimagination of GGPO, enabling P2P rollback networking in Rust. Rollback to the future!"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/gschup/ggrs"
keywords = ["gamedev", "networking", "ggpo", "rollback"]
categories = ["network-programming", "game-development"]
[features]
sync-send = []
wasm-bindgen = ["instant/wasm-bindgen", "getrandom/js"]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
bincode = "1.3"
rand = "0.8"
bitfield-rle = "0.2.1"
parking_lot = "0.12"
instant = "0.1"
bytemuck = {version = "1.9", features = ["derive"]}
getrandom = {version = "0.2", optional = true}
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3"
[dev-dependencies]
serial_test = "0.5"
structopt = "0.3"
macroquad = "0.3.10"
# Examples
[[example]]
name = "ex_game_p2p"
path = "examples/ex_game/ex_game_p2p.rs"
[[example]]
name = "ex_game_spectator"
path = "examples/ex_game/ex_game_spectator.rs"
[[example]]
name = "ex_game_synctest"
path = "examples/ex_game/ex_game_synctest.rs"