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