-
Notifications
You must be signed in to change notification settings - Fork 32
/
Cargo.toml
85 lines (72 loc) · 1.82 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[package]
name = "boytacean"
description = "A Game Boy emulator that is written in Rust."
version = "0.10.14"
authors = ["João Magalhães <[email protected]>"]
license = "Apache-2.0"
repository = "https://github.com/joamag/boytacean"
keywords = ["gameboy", "emulator", "rust"]
edition = "2021"
exclude = ["/frontends", "/res/roms", "/res/screens", "/res/videos"]
build = "build.rs"
readme = "README.md"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = []
wasm = ["wasm-bindgen", "js-sys", "boytacean-common/wasm"]
python = ["pyo3", "boytacean-common/python"]
simd = ["boytacean-encoding/simd", "boytacean-hashing/simd"]
debug = []
pedantic = []
cpulog = []
gen-mock = []
[dependencies]
boytacean-common = { path = "crates/common", version = "0.10.14" }
boytacean-encoding = { path = "crates/encoding", version = "0.10.14" }
boytacean-hashing = { path = "crates/hashing", version = "0.10.14" }
wasm-bindgen = { version = "0.2", optional = true }
js-sys = { version = "0.3", optional = true }
pyo3 = { version = "0.20", optional = true }
[dev-dependencies]
criterion = "0.5"
[build-dependencies]
chrono = "0.4"
regex = "1"
built = { version = "0.7", features = ["cargo-lock"] }
[profile.release]
debug = false
lto = true
opt-level = 3
codegen-units = 1
[profile.release-safe]
inherits = "release"
debug = false
lto = true
opt-level = 3
[profile.bench]
debug = false
lto = true
opt-level = 3
codegen-units = 1
[workspace]
members = [
".",
"frontends/libretro",
"frontends/sdl",
"crates/common",
"crates/encoding",
"crates/hashing"
]
package = { version = "0.10.14", authors = ["João Magalhães <[email protected]>"], edition = "2021" }
[package.metadata.docs.rs]
features = ["wasm", "gen-mock"]
[[bench]]
name = "color"
harness = false
[[bench]]
name = "encoding"
harness = false
[[bench]]
name = "hashing"
harness = false