[package] name = "weasel" version = "0.11.0" authors = ["Trisfald "] 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"]