-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
68 lines (62 loc) · 1.45 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
[package]
name = "paddle"
version = "0.1.0-beta.1"
authors = ["Jakob Meier <inbox@jakobmeier.ch>"]
edition = "2021"
rust-version = "1.65"
license = "MIT/Apache-2.0"
categories = ["game-engines", "game-development", "wasm", "web-programming"]
keywords = ["paddlers"]
readme = "README.md"
repository = "https://github.com/jakmeier/paddle"
description = "2D Game Engine for Rust on the Web"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
# nuts = { path = "../nuts", features = ["web-debug"] }
nuts = { version = "0.2.1", features = ["web-debug"] }
div = "0.4"
chrono = "0.4.23"
rand = "0.7"
serde = {version = "1.0", features = ["derive"] }
lyon = "1.0"
strum = "0.24"
strum_macros = "0.24"
wasm-bindgen = "0.2.83"
wasm-bindgen-futures = "0.4"
js-sys = "0.3"
console_error_panic_hook = { version = "0.1.7", optional = true }
[dependencies.web-sys]
version = "0.3"
features = [
"Blob",
"console",
"DomRect",
"Document",
"Element",
"FileReader",
"Headers",
"HtmlCanvasElement",
"HtmlElement",
"HtmlImageElement",
"Request",
"RequestInit",
"RequestMode",
"Response",
"Url",
"WebGlBuffer",
"WebGlProgram",
"WebGlRenderingContext",
"WebGlShader",
"WebGlTexture",
"WebGlUniformLocation",
"Window",
]
[features]
default = ["console_error_panic_hook", "html_helpers"]
nightly = []
const_fn = ["nightly"]
html_helpers = [
"web-sys/HtmlInputElement",
"web-sys/HtmlTextAreaElement",
]