-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
58 lines (52 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
[package]
name = "gameboy"
version = "0.1.2"
description = "Gameboy emulator written in Rust and WebAssembly"
authors = ["Raphael Amorim <[email protected]>"]
repository = "https://github.com/raphamorim/gameboy"
license = "MPL-2.0"
edition = "2021"
[lib]
name = "gameboy"
path = "src/lib.rs"
crate-type = ["cdylib", "rlib", "staticlib"]
[profile.release]
opt-level = "s"
lto = "thin"
strip = true
debug = 0
panic = 'abort'
codegen-units = 1
incremental = false
[profile.dev]
split-debuginfo = "unpacked"
lto = false
incremental = true
opt-level = 0
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
libc = { version = "0.2.126" }
glutin = { version = "0.28.0" }
gl = { version = "0.14.0" }
ratatui = { version = "^0.29.0", features = ["crossterm"] }
icy_sixel = { version = "^0.1.1" }
image = { version = "^0.25.1", default-features = false, features = ["jpeg"] }
ratatui-image = "4.2.0"
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3.59"
wasm-bindgen = "0.2.82"
wasm-bindgen-futures = "0.4.32"
console_error_panic_hook = "0.1.7"
web-sys = {version = "0.3.4", features = [
'Document',
'Element',
'HtmlCanvasElement',
'CanvasRenderingContext2d',
'ImageData',
'Window',
'KeyboardEvent',
]}
#'WebGlBuffer',
#'WebGlRenderingContext',
#'ImageBitmap',
#'WebGlProgram',
#'WebGlShader',