-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
73 lines (63 loc) · 1.97 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
68
69
70
71
72
73
[package]
name = "dioxus-motion"
description = "Animations library for Dioxus."
version = "0.3.1"
edition = "2021"
license = "MIT"
authors = ["Sabin Regmi <[email protected]>"]
readme = "./README.md"
homepage = "https://wheregmis.github.io"
repository = "https://github.com/wheregmis/dioxus-motion.git"
keywords = ["dioxus", "animations"]
categories = ["graphics", "gui"]
[dependencies]
easer = "0.3.0"
futures-util = { version = "0.3.31", default-features = false }
instant = { version = "0.1.13", optional = true }
wasm-bindgen = { version = "0.2.100", optional = true, default-features = false }
web-sys = { version = "0.3.77", optional = true, default-features = false, features = [
"Window",
] }
futures-channel = { version = "0.3.31", default-features = false }
# For desktop platforms
tokio = { version = "1.43.0", optional = true, default-features = false }
# For transitions
dioxus-motion-transitions-macro = { path = "crates/route_transitions", version = "0.1.0", optional = true }
dioxus = { version = "0.6.3", default-features = false, features = [
"router",
"hooks",
"signals",
"html",
"macro",
] }
[features]
default = ["web"]
web = ["wasm-bindgen", "web-sys", "instant/wasm-bindgen"]
desktop = ["tokio", "instant"]
transitions = ["dioxus-motion-transitions-macro"]
[profile]
[profile.wasm-dev]
inherits = "dev"
opt-level = 1
[profile.server-dev]
inherits = "dev"
[profile.android-dev]
inherits = "dev"
[profile.dev]
debug = 0
opt-level = 0
incremental = true
overflow-checks = false
lto = "thin"
panic = "unwind"
split-debuginfo = "unpacked"
strip = "debuginfo"
[profile.release]
codegen-units = 1 # Allows LLVM to perform better optimization.
lto = true # Enables link-time-optimizations.
opt-level = "s" # Prioritizes small binary size. Use `3` if you prefer speed.
panic = "abort" # Higher performance by disabling panic handlers.
strip = true # Ensures debug symbols are removed.
[workspace]
members = ["crates/route_transitions", "."]
resolver = "2"