mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-10-01 01:26:08 -04:00
28 lines
559 B
TOML
28 lines
559 B
TOML
|
[package]
|
||
|
name = "veilid-wasm"
|
||
|
version = "0.1.0"
|
||
|
authors = ["John Smith <jsmith@example.com>"]
|
||
|
edition = "2018"
|
||
|
license = "LGPL-2.0-or-later OR MPL-2.0 OR (MIT AND BSD-3-Clause)"
|
||
|
|
||
|
[lib]
|
||
|
crate-type = ["cdylib", "rlib"]
|
||
|
|
||
|
[dependencies]
|
||
|
wasm-bindgen = "^0"
|
||
|
console_error_panic_hook = "^0"
|
||
|
wee_alloc = "^0"
|
||
|
wasm-logger = "^0"
|
||
|
log = "^0"
|
||
|
veilid-core = { path = "../veilid-core" }
|
||
|
cfg-if = "^1"
|
||
|
wasm-bindgen-futures = "^0"
|
||
|
js-sys = "^0"
|
||
|
|
||
|
[dev-dependencies]
|
||
|
wasm-bindgen-test = "^0"
|
||
|
|
||
|
[profile.release]
|
||
|
# Tell `rustc` to optimize for small code size.
|
||
|
opt-level = "s"
|