2020-08-31 12:13:52 +00:00
|
|
|
[package]
|
|
|
|
name = "mapgen-demo"
|
2021-01-14 11:18:31 +00:00
|
|
|
version = "0.1.2"
|
2020-08-31 12:13:52 +00:00
|
|
|
authors = ["Krzysztof Langner <klangner@gmail.com>"]
|
2020-09-13 11:26:36 +00:00
|
|
|
description = "Map generator demo"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
repository = "https://github.com/klangner/mapgen.rs"
|
2020-08-31 12:13:52 +00:00
|
|
|
edition = "2018"
|
|
|
|
|
2020-09-12 12:44:37 +00:00
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib"]
|
|
|
|
|
2020-08-31 12:13:52 +00:00
|
|
|
[dependencies]
|
2020-09-13 11:26:36 +00:00
|
|
|
mapgen = {path=".."}
|
2021-01-14 11:18:31 +00:00
|
|
|
getrandom = { version = "0.2", features = ["js"] }
|
|
|
|
rand = "0.8"
|
2020-09-13 11:26:36 +00:00
|
|
|
wasm-bindgen = "0.2"
|
|
|
|
js-sys = "0.3"
|
2020-08-31 12:13:52 +00:00
|
|
|
|
2020-09-12 12:44:37 +00:00
|
|
|
[dependencies.web-sys]
|
|
|
|
version = "0.3.4"
|
|
|
|
features = [
|
|
|
|
'Document',
|
|
|
|
'Element',
|
|
|
|
'HtmlElement',
|
|
|
|
'Node',
|
|
|
|
'Window',
|
|
|
|
]
|