[package] name = "todo" version = "0.1.6" authors = ["SixtyFPS "] edition = "2018" build = "build.rs" publish = false license = "GPL-3.0-only" [[bin]] path = "main.rs" name = "todo" [dependencies] sixtyfps = { path = "../../../api/sixtyfps-rs" } [build-dependencies] sixtyfps-build = { path = "../../../api/sixtyfps-rs/sixtyfps-build" } # Remove the `#wasm#` to uncomment the wasm build. # This is commented out by default because we don't want to build it as a library by default # The CI has a script that does sed "s/#wasm# //" to generate the wasm build. #wasm# [lib] #wasm# crate-type = ["cdylib"] #wasm# path = "main.rs" #wasm# #wasm# [target.'cfg(target_arch = "wasm32")'.dependencies] #wasm# wasm-bindgen = { version = "0.2" } #wasm# web-sys = { version = "0.3", features=["console"] } #wasm# console_error_panic_hook = "0.1.5"