-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
67 lines (59 loc) · 1.61 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[package]
name = "templateer"
version = "0.1.0"
edition = "2021"
[workspace]
members = ["version_resolver"]
[workspace.dependencies]
miette = "7.1"
reqwest = "0.12"
xml_dom = "0.2.6"
wasm-bindgen = "0.2.92"
wasm-bindgen-futures = "0.4.42"
js-sys = "0.3.69"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
strum = { version = "0.26", features = ["derive"] }
tokio = { version = "1", features = ["full"] }
rfd = "0.14"
cliclack = "0.3.2"
clap = { version = "4.5", features = ["derive"] }
[workspace.dependencies.web-sys]
version = "0.3.64"
features = [
"Document",
"DomParser",
"Element",
"HtmlCollection",
"Node",
"NodeList",
"Response",
"SupportedType",
"Window",
"console",
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
miette = { workspace = true }
reqwest = { workspace = true }
futures = "0.3"
zip = { version = "2.1.3", default-features = false, features = ["deflate"] }
serde = { workspace = true }
serde_json = { workspace = true }
strum = { workspace = true }
version_resolver = { path = "version_resolver" }
bytes = "1.6"
[target.'cfg(not(target_family = "wasm"))'.dependencies]
miette = { workspace = true, features = ["fancy"] }
tokio = { workspace = true }
cliclack = { workspace = true }
clap = { workspace = true }
[target.'cfg(target_family = "wasm")'.dependencies]
wasm-bindgen = { workspace = true }
wasm-bindgen-futures = { workspace = true }
js-sys = { workspace = true }
web-sys = { workspace = true }
serde-wasm-bindgen = "0.6"
rfd = { workspace = true }