-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
60 lines (52 loc) · 1.53 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
[package]
name = "gameboy"
version = "0.1.1"
edition = "2021"
authors = ["MarkMcCaskey <[email protected]>"]
description = "A Gameboy emulator and related tools"
default-run = "gameboy"
[lib]
name = "rusty_boy_lib"
crate-type = ["cdylib"]
path = "src/lib.rs"
[badges]
travis-ci = { repository = "MarkMcCaskey/rusty-boy", branch = "master" }
maintainence = {status = "experimental"}
[features]
default = ["cli"]
asm = ["nom"]
debugger = ["ncurses", "nom"]
vulkan = []
development = ["debugger"]
cli = ["clap", "env_logger", "desktop"]
desktop = ["app_dirs", "sdl2"]
[dependencies]
app_dirs = { version = "^1.1.1", optional = true }
clap = { version = "^2.31", optional = true}
env_logger = { version = "0.10", optional = true, default-features = false, features = ["auto-color"] }
gameboy-rom = { version = "0.4" }
log = { version = "0.4", features = ["max_level_trace", "release_max_level_info"] }
rand = { version = "^0.8.5", optional = true }
sdl2 = { version = "^0.35.2", optional = true }
#vulkano = {version = "0.6.2", optional = true}
#vulkano-shader-derive = {version = "0.6.2", optional = true}
#winit = {version = "0.7.6", optional = true}
#vulkano-win = {version = "0.6.2", optional = true}
nom = { version = "^2.2", optional = true }
ncurses = {version = "^5.85.0", optional = true}
[profile.dev]
opt-level = 2
debug = true
rpath = false
lto = false
debug-assertions = true
# codegen-units = 2
panic = 'unwind'
[profile.release]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
panic = 'unwind'