generated from edfloreshz/cosmic-app-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
68 lines (61 loc) · 1.94 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
[package]
name = "oboete"
version = "0.1.6"
authors = ["mariinkys (Alex Marín)"]
edition = "2021"
description = "A simple flashcards application for the COSMIC™ desktop"
readme = "https://github.com/mariinkys/oboete/blob/main/README.md"
repository = "https://github.com/mariinkys/oboete"
license = "GPL-3.0"
[[bin]]
path = "src/main.rs"
name = "oboete"
[dependencies]
futures-util = "0.3.31"
i18n-embed-fl = "0.9.2"
open = "5.3.0"
rust-embed = "8.5.0"
tokio = { version = "1.41.0", features = ["full"] }
sqlx = { version = "0.8", features = ["sqlite", "runtime-tokio", "tls-rustls"] }
futures = "0.3.31"
dirs = "5.0.1"
rand = "0.8.5"
ashpd = { version = "0.10.2", features = ["wayland"] }
percent-encoding = "2.1"
serde = { version = "1.0.214", features = ["derive"] }
serde_json = "1.0.132"
log = "0.4"
tracing-subscriber = { version = "0.3.18", features = ["json"] }
paste = "1.0"
tracing = "0.1.40"
[dependencies.i18n-embed]
version = "0.15"
features = ["fluent-system", "desktop-requester"]
[dependencies.libcosmic]
git = "https://github.com/pop-os/libcosmic.git"
# See https://github.com/pop-os/libcosmic/blob/master/Cargo.toml for available features.
features = [
# Accessibility support
"a11y",
# Uses cosmic-settings-daemon to watch for config file changes
"dbus-config",
# Support creating additional application windows.
"multi-window",
# On app startup, focuses an existing instance if the app is already open
"single-instance",
# Uses tokio as the executor for the runtime
"tokio",
# Windowing support for X11, Windows, Mac, & Redox
"winit",
# Add Wayland support to winit
"wayland",
# GPU-accelerated rendering
"wgpu",
# About Page
"about",
]
# Uncomment to test a locally-cloned libcosmic
# [patch.'https://github.com/pop-os/libcosmic']
# libcosmic = { path = "../libcosmic" }
# cosmic-config = { path = "../libcosmic/cosmic-config" }
# cosmic-theme = { path = "../libcosmic/cosmic-theme" }