Some checks failed
CI / rustfmt (push) Failing after 23s
CI / clippy (push) Successful in 1m51s
CI / wasm build (push) Successful in 1m33s
CI / test (push) Successful in 2m21s
CI / example usage (push) Successful in 1m42s
CI / duplicate code (push) Successful in 11s
CI / cargo-machete (push) Successful in 1m38s
CI / web client (push) Failing after 24s
CI / cargo-deny (push) Failing after 3m23s
(feat): add code quality control (fix): ci rewritten for forgejo (qol): move docs to dedicated docs/ folder
46 lines
1.1 KiB
TOML
46 lines
1.1 KiB
TOML
[package]
|
|
name = "mtp-wasm"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[package.metadata.cargo-machete]
|
|
ignored = ["getrandom-v02"]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
wasm-bindgen = "0.2"
|
|
wasm-bindgen-futures = "0.4"
|
|
js-sys = "0.3"
|
|
web-sys = { version = "0.3", features = [
|
|
"console",
|
|
"WebTransport",
|
|
"WebTransportOptions",
|
|
"WebTransportHash",
|
|
"WebTransportBidirectionalStream",
|
|
"WebTransportCloseInfo",
|
|
"WebTransportDatagramDuplexStream",
|
|
"WebTransportError",
|
|
"WebTransportReceiveStream",
|
|
"WebTransportSendStream",
|
|
"ReadableStream",
|
|
"ReadableStreamDefaultReader",
|
|
"WritableStream",
|
|
"WritableStreamDefaultWriter",
|
|
] }
|
|
console_error_panic_hook = "0.1"
|
|
|
|
hex = "0.4"
|
|
|
|
getrandom = { version = "0.4", features = ["wasm_js"] }
|
|
getrandom-v02 = { package = "getrandom", version = "0.2", features = ["js"] }
|
|
|
|
mtp-common = { path = "../common" }
|
|
mtp-type-map = { path = "../type-map" }
|
|
mtp-codec = { path = "../codec", features = ["crypto"] }
|
|
mtp-crypto = { path = "../crypto", features = ["wasm"] }
|
|
|
|
[dev-dependencies]
|
|
wasm-bindgen-test = "0.3"
|
|
hex = "0.4"
|