forked from pop-os/cosmic-store
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
83 lines (75 loc) · 2.45 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
74
75
76
77
78
79
80
81
82
83
[package]
name = "cosmic-store"
version = "0.1.0"
edition = "2021"
rust-version = "1.71"
[dependencies]
chrono = "0.4"
env_logger = "0.10"
freedesktop_entry_parser = "1"
lazy_static = "1"
log = "0.4"
open = "5"
paste = "1"
rayon = "1"
regex = "1"
reqwest = "0.11"
serde = { version = "1", features = ["rc", "serde_derive"] }
spdx = { git = "https://github.com/jackpot51/spdx.git" }
tokio = { version = "1", features = ["sync"] }
xdg = "2"
# Internationalization
i18n-embed = { version = "0.13", features = ["fluent-system", "desktop-requester"] }
i18n-embed-fl = "0.6"
rust-embed = "6"
icu_collator = "1.5"
icu_provider = { version = "1.5", features = ["sync"] }
# appstream
appstream = { git = "https://github.com/jackpot51/appstream.git" }
flate2 = "1"
libc = "0.2"
sys-locale = "0.3"
serde_yaml = "0.9"
# fast cache
atomicwrites = { git = "https://github.com/jackpot51/rust-atomicwrites" }
bitcode = { version = "0.6", features = ["serde"] }
dirs = "5"
# flatpak feature
libflatpak = { version = "0.5", optional = true }
# logind feature (for inhibiting suspend/restart/shutdown)
logind-zbus = { version = "4", optional = true }
nix = { version = "0.26", features = ["user"], optional = true }
zbus = { version = "4", optional = true }
# notify feature
notify-rust = { version = "4", optional = true }
# packagekit feature
packagekit-zbus = { version = "0.1", optional = true }
[dependencies.libcosmic]
git = "https://github.com/pop-os/libcosmic.git"
default-features = false
features = ["multi-window", "tokio", "winit"]
[features]
default = ["a11y", "desktop-systemd-scope", "flatpak", "logind", "notify", "packagekit", "single-instance", "wgpu"]
a11y = ["libcosmic/a11y"]
desktop = ["libcosmic/desktop"]
desktop-systemd-scope = ["desktop", "libcosmic/desktop-systemd-scope"]
flatpak = ["dep:libflatpak"]
logind = ["dep:logind-zbus", "dep:nix", "dep:zbus"]
notify = ["dep:notify-rust"]
packagekit = ["dep:packagekit-zbus"]
pkgar = []
single-instance = ["libcosmic/single-instance"]
wgpu = ["libcosmic/wgpu"]
[profile.release-with-debug]
inherits = "release"
debug = true
[workspace]
members = ["flathub-stats"]
# [patch.'https://github.com/pop-os/libcosmic.git']
# libcosmic = { path = "../libcosmic" }
# cosmic-config = { path = "../libcosmic/cosmic-config" }
# cosmic-theme = { path = "../libcosmic/cosmic-theme" }
# [patch.'https://github.com/jackpot51/appstream.git']
# appstream = { path = "../../appstream" }
# [patch.'https://github.com/jackpot51/spdx.git']
# spdx = { path = "../../spdx" }