[package] name = "rustboyadvance-core" version = "0.1.0" authors = ["Michel Heily "] edition = "2018" [dependencies] cfg-if = "1.0.0" serde = { version = "1.0.104", features = ["derive", "rc"] } bincode = "1.2.1" byteorder = "1" num = "0.2.1" num-traits = "0.2" enum-primitive-derive = "^0.1" bit = "^0.1" chrono = "0.4" 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" ] } 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.2" sha2 = "0.8.1" hex-literal = "0.2.1" rustyline = { version = "6.0.0", optional = true } nom = { version = "5.0.0", optional = true } gdbstub = { version = "0.1.2", optional = true, features = ["std"] } ringbuf = "0.2.2" goblin = { version = "0.2", optional = true } fuzzy-matcher = { version = "0.3.4", optional = true } bit_reverse = "0.1.8" yaml-rust = "0.4" lazy_static = "1.4.0" smart-default = "0.6.0" [target.'cfg(target_arch="wasm32")'.dependencies] instant = { version = "0.1.2", features = ["wasm-bindgen"] } [build-dependencies] bit = "^0.1" [dev-dependencies] criterion = "0.3" [[bench]] name = "performance" harness = false [features] default = ["arm7tdmi_dispatch_table"] elf_support = ["goblin"] debugger = ["nom", "rustyline", "fuzzy-matcher", "elf_support"] gdb = ["gdbstub"] # Uses lookup tables when executing instructions instead of `match` statements. # Faster, but consumes more memory. arm7tdmi_dispatch_table = [] # For use for ports where VideoInterface is not needed like wasm & jni no_video_interface = []