-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
44 lines (40 loc) · 1.6 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
35
36
37
38
39
40
41
42
43
44
[package]
name = "wasmadeus"
version = "0.1.0"
edition = "2021"
authors = ["Benjamin Lefebvre"]
categories = ["wasm", "web-programming"]
description = "An experimental frontend framework in pure rust"
keywords = ["framework", "frontend", "frp", "wasm"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/L-Benjamin/wasmadeus"
[package.metadata.docs.rs]
# To test-build documentation, use:
# cargo +nightly rustdoc --all-features --open -- -Z unstable-options --cfg docsrs --generate-link-to-definition
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[features]
bin = ["fetch"]
default = ["fetch", "logger"]
fetch = ["web-sys/Headers", "web-sys/ReadableStream", "web-sys/ReferrerPolicy", "web-sys/RequestCache", "web-sys/RequestCredentials", "web-sys/RequestInit", "web-sys/RequestMode", "web-sys/RequestRedirect", "web-sys/Response"]
json = ["fetch", "dep:serde", "dep:serde_json"]
logger = ["dep:log", "web-sys/console"]
[dependencies]
futures = { version = "0.3.30", default-features = false }
log = { version = "0.4.22", default-features = false, optional = true }
once_cell = { version = "1.19.0", default-features = false }
serde = { version = "1.0.204", default-features = false, optional = true }
serde_json = { version = "1.0.120", features = ["alloc"], default-features = false, optional = true }
wasm-bindgen-futures = { version = "0.4.42", default-features = false }
[dependencies.web-sys]
version = "0.3.69"
default-features = false
features = [
"CssStyleDeclaration",
"Document",
"Element",
"HtmlElement",
"SvgElement",
"Text",
"Window",
]