-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
79 lines (71 loc) · 2.1 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
[workspace]
resolver = "2"
members = [
"spacelink",
"spacelinkd",
]
default-members = []
[profile.release]
codegen-units = 1 # Best LLVM optimization
panic = "abort" # Remove unwind code on release
opt-level = 3
lto = true
strip = true
[workspace.package]
license = "GPL-3.0-or-later"
version = "0.1.0"
edition = "2021"
rust-version = "1.81"
authors = [
"Max Rodriguez <[email protected]>"
]
repository = "https://gitlab.com/maxrdz/spacelink"
[workspace.metadata.cross.build]
default-target = "aarch64-unknown-linux-gnu"
[workspace.metadata.cross.target.aarch64-unknown-linux-gnu]
image.name = "ubuntu:24.04"
image.toolchain = ["aarch64-unknown-linux-gnu"]
pre-build = [
"apt-get update",
"apt-get install --assume-yes git llvm clang pkg-config gcc g++",
"apt-get download libclang-dev libxkbcommon0 libxkbcommon-dev modemmanager-dev",
"dpkg --force-all -i *.deb",
]
[workspace.dependencies]
cfg-if = "1"
phonenumber = "0.3"
serde = "1.0"
tokio = { version = "1.41.0", features = ["full"] }
tracing = "0.1.41"
zbus = "5.2"
[workspace.dependencies.i18n-embed]
version = "0.15"
features = ["fluent-system", "desktop-requester"]
[workspace.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 = [
# COSMIC about widget
"about",
# 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",
]
# 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" }