-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
61 lines (54 loc) · 1.49 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
[package]
name = "noentiendo"
version = "0.1.0"
edition = "2021"
authors = ["noentiendo team <[email protected]>", "Brooke Chalmers <[email protected]>"]
description = "A modular retro emulation framework"
documentation = "https://noentiendo.breq.dev/doc/libnoentiendo/"
homepage = "https://noentiendo.breq.dev/"
repository = "https://github.com/breqdev/noentiendo"
keywords = ["6502", "emulation", "retro", "wasm", "commodore"]
license = "AGPL-3.0-or-later"
# Shared dependencies across all targets
[dependencies]
instant = { version = "0.1", features = [ "wasm-bindgen" ] }
async-trait = "0.1"
pixels = "0.11"
serde = { version = "1.0", features = ["derive"] }
# Dependencies used for the WebAssembly target
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1"
js-sys = "0.3"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
serde-wasm-bindgen = "0.4"
[dependencies.web-sys]
version = "0.3"
features = [
'HtmlCanvasElement',
'CanvasRenderingContext2d',
'CssStyleDeclaration',
'KeyboardEvent',
'Document',
'NamedNodeMap',
'Attr',
'Gamepad',
'GamepadButton',
'console',
]
# Dependencies used when building for desktop
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
winit = "0.27"
winit_input_helper = "0.13"
rand = "0.8"
clap = { version = "3.2", features = ["derive"]}
gilrs = "0.10.1"
[profile.release]
debug = true
[lib]
name = "libnoentiendo"
path = "src/lib.rs"
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "noentiendo-desktop"
path = "src/main.rs"