-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
62 lines (55 loc) · 1.57 KB
/
Copy pathCargo.toml
File metadata and controls
62 lines (55 loc) · 1.57 KB
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
[package]
name = "image-rs"
version = "0.1.1"
edition = "2024"
rust-version = "1.85"
description = "🖼️ A highly customizable and optimized image component for WASM frameworks like Yew, Dioxus, and Leptos."
license = "MIT"
keywords = ["image", "yew", "rust", "dioxus", "leptos"]
categories = ["web-programming", "science"]
repository = "https://github.com/opensass/image-rs"
documentation = "https://docs.rs/image-rs/"
authors = ["Mahmoud Harmouch <oss@wiseai.dev>"]
exclude = ["/assets", "/examples", "/bench"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
yew = { version = "0.21.0", default-features = false, optional = true }
dioxus = { version = "0.6.3", optional = true }
leptos = { version = "0.8.0", optional = true }
wasm-bindgen-futures = "0.4.50"
gloo-net = { version = "0.6.0", features = ["http"] }
serde_json = "1.0.140"
web-sys = { version = "0.3.77", features = [
"Request",
"Window",
"ScrollToOptions",
"ScrollBehavior",
"DomRect",
"Element",
"EventListener",
"Node",
"IntersectionObserver",
"IntersectionObserverInit",
"IntersectionObserverEntry",
"HtmlImageElement",
]}
[features]
yew = ["dep:yew"]
dio = ["dioxus"]
lep = ["leptos"]
[profile.release]
opt-level = "z"
debug = false
lto = "thin"
codegen-units = 1
panic = "abort"
strip = "symbols"
incremental = false
[badges]
maintenance = { status = "actively-developed" }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dev-dependencies]
log = "0.4.27"
bump2version = "0.1.6"