-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
43 lines (37 loc) · 1.28 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
[package]
name = "scroll-rs"
version = "0.2.2"
edition = "2021"
rust-version = "1.79"
description = "🖱️ A headless, customizable scroll-to-target component for WASM frameworks like Yew, Dioxus, and Leptos."
license = "MIT"
keywords = ["scroll", "yew", "rust", "dioxus", "leptos"]
categories = ["web-programming", "science"]
repository = "https://github.com/opensass/scroll-rs"
documentation = "https://docs.rs/scroll-rs/"
authors = ["Mahmoud Harmouch <[email protected]>"]
exclude = ["assets", "examples"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
wasm-bindgen = "0.2.99"
web-sys = { version = "0.3.76", features = ["Window", "ScrollToOptions", "ScrollBehavior", "DomRect", "Element"] }
gloo = { version = "0.11.0", features = ["utils"], optional = true }
yew = { version = "0.21.0", default-features = false, optional = true }
dioxus = { version = "0.6.1", optional = true }
leptos = { version = "0.7.1", optional = true }
[features]
yew = ["dep:yew", "gloo"]
dio = ["dioxus", "gloo"]
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" }
[dev-dependencies]
bump2version = "0.1.4"