-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathCargo.toml
45 lines (39 loc) · 1.46 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
[package]
name = "leptos_image"
version = "0.2.0"
edition = "2021"
authors = ["Nico Burniske"]
description = "Static Image Optimizer for Leptos"
exclude = ["example/"]
keywords = ["leptos"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/nicoburniske/leptos-image"
[dependencies]
leptos = { version = "0.6", default-features = false }
leptos_router = { version = "0.6", default-features = false }
leptos_meta = { version = "0.6", default-features = false }
wasm-bindgen = "0.2"
web-sys = { version = "0.3", optional = true, features = ["HtmlImageElement"]}
tokio = { version = "1", features = ["rt-multi-thread", "rt", "fs"], optional = true }
axum = { version = "0.7", optional = true, features = ["macros"] }
tower = { version = "0.4", optional = true }
tower-http = { version = "0.5", features = ["fs"], optional = true }
image = { version = "0.24", optional = true}
webp = { version= "0.2", optional = true}
serde = { version = "1.0", features = ["derive"] }
serde_qs = "0.12"
thiserror = { version = "1", optional = true }
base64 = "0.21"
tracing = { version = "0.1", optional = true }
dashmap = { version = "5", optional = true }
[features]
ssr = [
"leptos_router/ssr", "leptos_meta/ssr" , "leptos/ssr",
"dep:webp", "dep:image",
"dep:tokio", "dep:axum", "dep:tower", "dep:tower-http",
"dep:tracing", "dep:dashmap", "dep:thiserror"
]
hydrate = [ "dep:web-sys","leptos/hydrate", "leptos_router/hydrate" ]
[dev-dependencies]
leptos_axum = "0.6.5"