a523a37d32
Lookup tables are generally faster than matching in most architectures. There is some trouble in decoding some arm data processing instructions so this is non-default feature for now * Crashes on armwrestler but many games seem to work Former-commit-id: 3c06ea344ae0097947d8cd5bd05b1f882c7f743a
52 lines
1.3 KiB
TOML
52 lines
1.3 KiB
TOML
[package]
|
|
name = "rustboyadvance-ng"
|
|
version = "0.1.0"
|
|
authors = ["Michel Heily <michelheily@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[workspace]
|
|
members = [
|
|
"rustboyadvance-sdl2",
|
|
"rustboyadvance-minifb",
|
|
"rustboyadvance-jni",
|
|
]
|
|
|
|
[dependencies]
|
|
lazy_static = {version="1.4.0", optional = true}
|
|
serde = {version = "1.0.104", features = ["derive"] }
|
|
bincode = "1.2.1"
|
|
byteorder = "1"
|
|
num = "0.2.1"
|
|
num-traits = "0.2"
|
|
enum-primitive-derive = "^0.1"
|
|
bit = "^0.1"
|
|
colored = "1.9"
|
|
ansi_term = "0.12.1"
|
|
hexdump = "0.1.0"
|
|
time = "0.2.6"
|
|
bitfield = "0.13.1"
|
|
bitflags = "1.2.1"
|
|
zip = {version = "0.5.4", default-features = false, features = ["deflate", "time"]}
|
|
ctrlc = "3.1.3"
|
|
bit-set = "0.5.1"
|
|
debug_stub_derive = "0.3.0"
|
|
bytesize = "1.0.0"
|
|
memmem = "0.1.1"
|
|
log = "0.4.8"
|
|
arrayvec = "0.5.1"
|
|
|
|
rustyline = {version = "6.0.0", optional = true}
|
|
nom = {version = "5.0.0", optional = true}
|
|
gdbstub = {git = "https://github.com/daniel5151/gdbstub.git", optional = true, features = ["std"], rev = "9686df6d74c4bf45cbc5746273b82640e8852b6d"}
|
|
|
|
[features]
|
|
debugger = ["nom", "rustyline"]
|
|
gdb = ["gdbstub"]
|
|
# Uses lookup tables when executing instructions instead of `match` statements.
|
|
# Faster, but consumes more memory.
|
|
# Experimental and not thoroughly tested yet
|
|
arm7tdmi_dispatch_table = ["lazy_static"]
|
|
|
|
[profile.dev]
|
|
opt-level = 0
|
|
debug = true |