george-emu/Cargo.toml

30 lines
762 B
TOML

[package]
name = "georgeemu"
version = "0.1.0"
edition = "2021"
[[bin]]
path = "src/bin/main.rs"
name = "georgeemu"
[target.'cfg(target_arch = "wasm32")'.lib]
crate-type = ["cdylib", "rlib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0.81"
minifb = { git = "https://github.com/augustkline/rust_minifb" }
serde = { version = "1.0.197", features = ["serde_derive", "derive"] }
web-sys = "0.3.70"
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.7"
minifb = { git = "https://github.com/augustkline/rust_minifb", features = [
"web",
] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
termion = "4.0.2"
toml = { version = "0.8.12" }