Newer
Older
description = "A Game Boy emulator that is written in Rust."
authors = ["João Magalhães <joamag@gmail.com>"]
repository = "https://github.com/joamag/boytacean"
exclude = ["/frontends", "/res/roms", "/res/screens", "/res/videos"]
build = "build.rs"
readme = "README.md"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
wasm = ["wasm-bindgen", "js-sys", "boytacean-common/wasm"]
python = ["pyo3", "boytacean-common/python"]
simd = ["boytacean-encoding/simd", "boytacean-hashing/simd"]
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"
built = { version = "0.7", features = ["cargo-lock"] }
[profile.release]
debug = false
lto = true
opt-level = 3
[profile.release-safe]
inherits = "release"
debug = false
lto = true
opt-level = 3
[profile.bench]
debug = false
lto = true
opt-level = 3
codegen-units = 1
members = [
".",
"frontends/libretro",
"frontends/sdl",
"crates/common",
"crates/encoding",
"crates/hashing"
]
package = { version = "0.10.14", authors = ["João Magalhães <joamag@gmail.com>"], 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