-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
58 lines (48 loc) · 1.57 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
[package]
name = "world-map-gen"
version = "0.1.1"
authors = ["rhysd <https://rhysd.github.io>"]
edition = "2018"
description = "Command line tool and library to generate random game world maps for both Rust and WebAssembly"
categories = ["command-line-utilities", "rendering", "wasm"]
repository = "https://github.com/rhysd/world-map-gen"
readme = "README.md"
include = ["/src/**/*.rs", "/Cargo.toml", "/LICENSE.txt"]
license = "MIT"
[package.metadata.release]
no-dev-version = true
[[bin]]
path = "src/main.rs"
name = "world-map-gen"
[lib]
# Append cdylib for adding WebAssembly target
crate-type = ["cdylib", "lib"]
[features]
default = []
wasm_debug = ["console_error_panic_hook", "web-sys"]
[dependencies]
termcolor = "1.0.4"
lazy_static = "1.3.0"
clap = "2.33.0"
term_size = "0.3.1"
serde = "1.0.91"
serde_json = "1.0.39"
serde_derive = "1.0.91"
termcolor2rgb = "1.0.1"
cfg-if = "0.1.9"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
rand = "0.6.5"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2.44"
rand = { version = "0.6.5", default-features = false, features = ["wasm-bindgen"] }
wee_alloc = { version = "0.4.4", optional = true }
console_error_panic_hook = { version = "0.1.6", optional = true }
web-sys = { version = "0.3.21", features = ["console"], optional = true }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.2.44"
[dev-dependencies]
cargo-husky = "1.3.0"
[badges]
maintenance = { status = "passively-maintained" }
travis-ci = { repository = "rhysd/world-map-gen" }
appveyor = { repository = "rhysd/world-map-gen" }