c50ab1ecd8
Initially I began implementing the gdb protocol on my own, but I then found a nice work-in-progress crate on https://github.com/daniel5151/gdbstub that suited my needs. Former-commit-id: f77557cbbd8652c2ed05ac439efc1956d8e99729
60 lines
1.3 KiB
TOML
60 lines
1.3 KiB
TOML
[package]
|
|
name = "rustboyadvance-ng"
|
|
version = "0.1.0"
|
|
authors = ["Michel Heily <michelheily@gmail.com>"]
|
|
edition = "2018"
|
|
default-run= "rba-sdl2"
|
|
build = "src/build.rs"
|
|
|
|
[dependencies]
|
|
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"
|
|
clap = {version = "2.33", features = ["color", "yaml"]}
|
|
colored = "1.9"
|
|
ansi_term = "0.12.1"
|
|
hexdump = "0.1.0"
|
|
sdl2 = {version = "0.33.0", features = ["image"]}
|
|
minifb = "0.11.2"
|
|
time = "0.2.6"
|
|
bitfield = "0.13.1"
|
|
bitflags = "1.2.1"
|
|
zip = "0.5.4"
|
|
ctrlc = "3.1.3"
|
|
spin_sleep="0.3.7"
|
|
bit-set = "0.5.1"
|
|
ringbuf = "0.2.1"
|
|
debug_stub_derive = "0.3.0"
|
|
bytesize = "1.0.0"
|
|
memmem = "0.1.1"
|
|
log = "0.4.8"
|
|
flexi_logger = {version = "0.14", features = ["colors"]}
|
|
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"}
|
|
|
|
|
|
[[bin]]
|
|
name = "rba-sdl2"
|
|
path = "src/plat/sdl2/main.rs"
|
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
winres = "0.1"
|
|
|
|
[[bin]]
|
|
name = "rba-minifb"
|
|
path = "src/plat/minifb/main.rs"
|
|
|
|
[features]
|
|
debugger = ["nom", "rustyline"]
|
|
gdb = ["gdbstub"]
|
|
|
|
[profile.dev]
|
|
opt-level = 0
|
|
debug = true |