-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
executable file
·80 lines (65 loc) · 1.54 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
[package]
name = "weasel"
version = "0.11.0"
authors = ["Trisfald <[email protected]>"]
edition = "2018"
description = "A customizable battle system for turn-based games."
readme = "README.md"
repository = "https://github.com/Trisfald/weasel"
documentation = "https://docs.rs/weasel"
keywords = ["game", "weasel", "turn-based"]
categories = ["game-development"]
license = "MIT"
include = [
"Cargo.toml",
"LICENSE",
"src/**/*",
"examples/**/*"
]
[badges]
maintenance = { status = "actively-developed" }
[features]
default = []
random = ["rand", "rand_pcg"]
serialization = ["serde"]
[dependencies]
num-traits = "0.2"
log = "0.4"
indexmap = "1.3"
rand = { version = "0.7", optional = true }
rand_pcg = { version = "0.2", optional = true }
serde = { version = "1.0", optional = true, features = ["derive"] }
[dev-dependencies]
util = { path = "utilities" }
serde_json = "1.0"
[package.metadata.docs.rs]
all-features = true
[[test]]
name = "entropy-test"
path = "tests/entropy_test.rs"
required-features = ["random"]
[[example]]
name = "pirates"
required-features = ["random", "serialization"]
[[example]]
name = "autosave"
required-features = ["serialization"]
[[example]]
name = "user-event"
path = "examples/user_event/main.rs"
required-features = ["serialization"]
[[example]]
name = "space"
[[example]]
name = "initiative"
required-features = ["random"]
[[example]]
name = "undo"
[[example]]
name = "passive"
[[example]]
name = "status"
[[example]]
name = "king"
path = "examples/king_of_the_hill/main.rs"
required-features = ["random", "serialization"]