-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
70 lines (63 loc) · 2.34 KB
/
Copy pathCargo.toml
File metadata and controls
70 lines (63 loc) · 2.34 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
63
64
65
66
67
68
69
70
[package]
name = "logout"
version = "0.4.3"
edition = "2021"
[features]
default = ["web-platform"]
web-platform = ["dioxus/web"] # Web renderer (WASM / browser)
mobile-platform = ["dioxus/mobile"] # Mobile renderer (Android / iOS)
server-platform = ["dioxus/server"] # Server renderer (native binary serving PWA)
[dependencies]
dioxus = { version = "=0.7.9", features = ["router"] }
dioxus-logger = "0.7"
dioxus-i18n = "0.5.1"
unic-langid = { version = "0.9", features = ["macros"] }
serde = { version = "1.0", features = ["derive", "rc"] }
serde_json = "1.0"
log = "0.4"
reqwest = { version = "0.12", default-features = false, features = ["json"] }
strum = { version = "0.27", features = ["derive"] }
sys-locale = "0.3.2"
futures-util = "0.3"
futures-channel = "0.3"
percent-encoding = "2.3.2"
thiserror = "2"
pulldown-cmark = { version = "0.13.3", default-features = false, features = ["html"] }
# sqlite-wasm-rs = "0.5.2"
[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys = { version = "0.3", features = [
"Window", "Storage", "Navigator",
"ServiceWorkerContainer", "ServiceWorkerRegistration",
"Document", "Element", "EventTarget", "VisibilityState",
"Notification", "NotificationPermission", "NotificationOptions",
"Blob", "BlobPropertyBag", "Url",
"HtmlAnchorElement", "HtmlInputElement",
"FileList", "File", "FileReader",
"ProgressEvent",
"IntersectionObserver", "IntersectionObserverInit", "IntersectionObserverEntry",
] }
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
js-sys = "0.3"
serde-wasm-bindgen = "0.6"
gloo-timers = "0.3"
rexie = "0.6"
time = { version = "0.3", features = ["wasm-bindgen"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
time = { version = "0.3", features = ["local-offset"] }
tokio = { version = "1", features = ["time", "rt", "macros", "rt-multi-thread"] }
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls"] }
dirs = "6"
rusqlite = { version = "0.32", features = ["bundled"] }
jni = "0.21"
[target.'cfg(target_os = "android")'.dependencies]
ndk-context = "0.1"
[[bin]]
name = "log-out"
path = "src/main.rs"
[profile.release]
opt-level = "z" # Optimize for size
lto = true # Link Time Optimization
codegen-units = 1 # Better optimization, slower compile
panic = "abort" # Remove stack unwinding code
strip = true # Strip symbols