forked from pop-os/cosmic-app-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
42 lines (39 loc) · 1.14 KB
/
Copy pathCargo.toml
File metadata and controls
42 lines (39 loc) · 1.14 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
[package]
name = "{{ project-name }}"
version = "0.1.0"
edition = "2024"
license = "{{ license }}"
description = "{{ description }}"
repository = "{{ repository-url }}"
[dependencies]
i18n-embed = { version = "0.16", features = [
"fluent-system",
"desktop-requester",
] }
i18n-embed-fl = "0.10"
open = "5.3.2"
rust-embed = "8.8.0"
tokio = { version = "1.48.0", features = ["full"] }
[dependencies.libcosmic]
git = "https://github.com/pop-os/libcosmic.git"
# See https://github.com/pop-os/libcosmic/blob/master/Cargo.toml for available features.
# Remove features if not needed.
features = [
# About widget for the app
"about",
# On app startup, focuses an existing instance if the app is already open
"single-instance",
# Markdown widget
"markdown",
# QR code widget
"qr_code",
# GPU-accelerated rendering
"wgpu",
# xdg portal dialogs on Linux
"xdg-portal"
]
# 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" }