[package] name = "lightningbeam-core" version = "0.1.0" edition = "2021" [lib] crate-type = ["cdylib", "rlib"] [dependencies] serde = { version = "1.0", features = ["derive"] } wasm-bindgen = "0.2" cpal = "0.14" [dependencies.web-sys] version = "0.3.22" features = ["console"] # The `console_error_panic_hook` crate provides better debugging of panics by # logging them with `console.error`. This is great for development, but requires # all the `std::fmt` and `std::panicking` infrastructure, so it's only enabled # in debug mode. [target."cfg(debug_assertions)".dependencies] console_error_panic_hook = "0.1.5" [features] default = ["native"] native = [] wasm = []