[package] name = "georgeemu" version = "0.1.0" edition = "2021" build = "build.rs" [[target.'cfg(not(target_arch = "wasm32"))'.bin]] path = "src/bin/main.rs" name = "george" [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 [build-dependencies] bdf-parser = "0.1.0" [dependencies] anyhow = "1.0.81" minifb = { git = "https://github.com/emoon/rust_minifb" } serde = { version = "1.0.197", features = ["serde_derive", "derive"] } [target.'cfg(target_arch = "wasm32")'.dependencies] console_error_panic_hook = "0.1.7" web-sys = "0.3.70" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] termion = "4.0.2" toml = { version = "0.8.12" }