[package]
edition = "2024"
name = "asupersync-browser-core"
version = "0.2.9"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WASM/JS bindings for the Asupersync async runtime (Browser Edition). Exposes the v1 ABI symbol surface via wasm-bindgen."
readme = false
keywords = [
"async",
"wasm",
"browser",
"bindings",
"structured",
]
categories = [
"asynchronous",
"wasm",
"web-programming",
]
license-file = "LICENSE"
repository = "https://github.com/Dicklesworthstone/asupersync"
[package.metadata.asupersync_wasm_policy]
policy_version = "1.0.0"
abi_version = "1.0"
owner_track = "asupersync-3qv04.2"
[package.metadata.wasm-pack.profile.release]
wasm-opt = [
"-Oz",
"--enable-bulk-memory",
"--strip-dwarf",
"--strip-producers",
"--vacuum",
]
[features]
default = ["prod"]
deterministic = ["asupersync/wasm-browser-deterministic"]
dev = ["asupersync/wasm-browser-dev"]
minimal = ["asupersync/wasm-browser-minimal"]
prod = ["asupersync/wasm-browser-prod"]
[lib]
name = "asupersync_browser_core"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[test]]
name = "abi_exports"
path = "tests/abi_exports.rs"
[[test]]
name = "artifact_layout"
path = "tests/artifact_layout.rs"
[dependencies.asupersync]
version = "0.2.9"
default-features = false
[dependencies.js-sys]
version = "0.3"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde-wasm-bindgen]
version = "0.6"
[dependencies.serde_json]
version = "1.0"
[dependencies.wasm-bindgen]
version = "0.2"
[dependencies.wasm-bindgen-futures]
version = "0.4"
[dependencies.web-sys]
version = "0.3"
features = [
"Window",
"WorkerGlobalScope",
"Performance",
"AbortController",
"AbortSignal",
"RequestInit",
"Response",
"BinaryType",
"CloseEvent",
"Event",
"MessageEvent",
"WebSocket",
"console",
]
[dev-dependencies.wasm-bindgen-test]
version = "0.3"
[lints.clippy]
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"