-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
34 lines (30 loc) · 1.23 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[package]
name = "leptos_webtransport"
version = "0.6.7"
authors = ["Griffin Obeid <[email protected]>", "Dario Lencina Talarico [email protected]"]
edition = "2021"
description = "A Rust crate providing WebTransport functionality for the leptos framework."
homepage = "https://github.com/security-union/leptos-webtransport"
repository = "https://github.com/security-union/leptos-webtransport"
license = "MIT"
readme = "README.md"
exclude = [ "webdriver.json" ]
[dependencies]
anyhow = "1.0.75"
js-sys = "0.3.65"
leptos = "0.6.6"
thiserror = "1.0.50"
wasm-bindgen = "0.2.93"
wasm-bindgen-futures = "0.4.38"
web-sys = {version = "0.3.69", features = [ "WebTransport", "WritableStream", "ReadableStream", "ReadableStreamDefaultReader", "ReadableStreamReadResult", "WebTransportSendStream", "WritableStreamDefaultWriter", "WebTransportDatagramDuplexStream", "WebTransportCloseInfo", "WebTransportBidirectionalStream", "WebTransportReceiveStream"]}
[dev-dependencies]
wasm-bindgen-test = "0.3.37"
# Defines a size-optimized profile for the WASM bundle in release mode
[profile.wasm-release]
inherits = "release"
opt-level = 'z'
lto = true
codegen-units = 1
panic = "abort"
[package.metadata.docs.rs]
rustc-args = ["--cfg", "web_sys_unstable_apis"]