-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
66 lines (57 loc) · 1.29 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
[package]
name = 'game2'
description = 'My LD49 game entry'
license = 'MIT'
version = '0.1.0'
authors = ['Anton Bulakh <[email protected]>']
edition = '2018'
[profile.release]
lto = true
[lib]
crate-type = ['cdylib']
[dependencies]
ld-game-engine = { path = '../ld-game-engine' }
nalgebra = { version = '0.29', features = ['serde-serialize'] }
serde = { version = '1.0', features = ['derive'] }
serde_json = '1.0'
log = '0.4'
wasm-logger = '0.2'
wasm-bindgen = { version = '0.2', features = ['serde-serialize'] }
wasm-bindgen-futures = '0.4'
js-sys = '0.3'
[dependencies.web-sys]
version = '=0.3.35' # exactly .35 because here IDE still works (drastically speeding up my development)
features = [
'console',
'Document',
'Window',
'History',
'Element',
'Node',
'Response',
'Storage',
'Event',
'MouseEvent',
'TouchEvent',
'TouchList',
'Touch',
'WheelEvent',
'KeyboardEvent',
'EventTarget',
'HtmlElement',
'AudioContext',
'AudioBuffer',
'AudioNode',
'GainNode',
'AudioParam',
'AudioDestinationNode',
'AudioBufferSourceNode',
'HtmlImageElement',
'HtmlAudioElement',
'HtmlMediaElement',
'HtmlCanvasElement',
'CanvasRenderingContext2d',
'TextMetrics',
'CssStyleDeclaration',
'Performance'
]