[package]
name = "rdb"
version = "0.1.0"
edition = "2024"

[dependencies]
serde_json.workspace = true
serde.workspace = true
clap.workspace = true
yggdrasil-rt.workspace = true
yggdrasil-abi.workspace = true
libterm.workspace = true
thiserror.workspace = true

elf = "0.7.4"
rangemap = "1.5.1"
rustc-demangle = "0.1.24"

[target.'cfg(any(target_arch = "x86_64", target_arch = "x86"))'.dependencies]
iced-x86 = { version = "1.21.0", default-features = false, features = ["gas", "decoder", "std"] }

[dev-dependencies]
iced-x86 = { version = "1.21.0", default-features = false, features = ["gas", "decoder", "std"] }

[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(rust_analyzer)'] }
