2022-02-06 21:18:42 -05:00
|
|
|
[package]
|
2023-09-02 10:41:59 -04:00
|
|
|
# --- Bumpversion match - do not reorder
|
2022-02-06 21:18:42 -05:00
|
|
|
name = "veilid-wasm"
|
2024-08-01 20:19:34 -04:00
|
|
|
version = "0.3.4"
|
2023-09-02 10:41:59 -04:00
|
|
|
# ---
|
2024-08-16 21:01:30 -04:00
|
|
|
description = "Veilid bindings for WebAssembly"
|
2023-07-19 12:48:44 -04:00
|
|
|
authors = ["Veilid Team <contact@veilid.com>"]
|
|
|
|
license = "MPL-2.0"
|
2022-02-06 21:18:42 -05:00
|
|
|
edition = "2021"
|
2024-09-21 11:13:29 -04:00
|
|
|
rust-version = "1.81.0"
|
|
|
|
resolver = "2"
|
2022-02-06 21:18:42 -05:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
2023-10-31 07:17:13 -04:00
|
|
|
path = "src/lib.rs"
|
2022-02-06 21:18:42 -05:00
|
|
|
|
2023-03-13 17:57:51 -04:00
|
|
|
[features]
|
2023-08-29 16:52:47 -04:00
|
|
|
default = ["veilid-core/default-wasm"]
|
2023-08-29 16:15:47 -04:00
|
|
|
crypto-test = ["veilid-core/crypto-test"]
|
2023-03-13 17:57:51 -04:00
|
|
|
|
2022-02-06 21:18:42 -05:00
|
|
|
[dependencies]
|
2024-08-01 20:19:34 -04:00
|
|
|
veilid-core = { version = "0.3.4", path = "../veilid-core", default-features = false }
|
2022-06-29 13:39:54 -04:00
|
|
|
|
2022-06-15 23:29:45 -04:00
|
|
|
tracing = { version = "^0", features = ["log", "attributes"] }
|
2022-06-07 21:31:05 -04:00
|
|
|
tracing-wasm = "^0"
|
|
|
|
tracing-subscriber = "^0"
|
2022-06-29 13:39:54 -04:00
|
|
|
|
|
|
|
wasm-bindgen = { version = "^0", features = ["serde-serialize"] }
|
|
|
|
console_error_panic_hook = "^0"
|
|
|
|
wee_alloc = "^0"
|
2022-02-06 21:18:42 -05:00
|
|
|
cfg-if = "^1"
|
|
|
|
wasm-bindgen-futures = "^0"
|
|
|
|
js-sys = "^0"
|
2022-03-15 09:33:34 -04:00
|
|
|
serde_json = "^1"
|
2024-06-29 23:00:29 -04:00
|
|
|
serde_bytes = { version = "0.11", default-features = false, features = [
|
2023-09-20 00:46:45 -04:00
|
|
|
"alloc",
|
|
|
|
] }
|
2022-03-15 09:33:34 -04:00
|
|
|
serde = "^1"
|
|
|
|
lazy_static = "^1"
|
|
|
|
send_wrapper = "^0"
|
2022-12-15 20:16:42 -05:00
|
|
|
futures-util = { version = "^0" }
|
2022-09-30 22:37:55 -04:00
|
|
|
data-encoding = { version = "^2" }
|
2022-10-05 19:12:10 -04:00
|
|
|
gloo-utils = { version = "^0", features = ["serde"] }
|
2023-08-16 10:25:09 -04:00
|
|
|
tsify = { version = "0.4.5", features = ["js"] }
|
2024-07-17 19:09:28 -04:00
|
|
|
serde-wasm-bindgen = "0.6.5"
|
2022-02-06 21:18:42 -05:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
wasm-bindgen-test = "^0"
|
2024-07-17 19:09:28 -04:00
|
|
|
parking_lot = "0.12.3"
|