forked from cosmic-utils/camera
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
90 lines (85 loc) · 2.51 KB
/
Cargo.toml
File metadata and controls
90 lines (85 loc) · 2.51 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[package]
name = "camera"
version = "0.3.4"
edition = "2024"
license = "GPL-3.0-only"
description = "Camera application for the COSMIC™ desktop"
repository = "https://github.com/cosmic-utils/camera"
authors = ["Frederic Laing <frederic.laing.development@gmail.com>"]
[dependencies]
futures = "0.3.32"
i18n-embed = { version = "0.16.0", features = [
"fluent-system",
"desktop-requester",
] }
i18n-embed-fl = "0.10.0"
open = "5.3.3"
pollster = "0.4.0"
rust-embed = "8.11.0"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
tokio = { version = "1.50.0", features = ["full"] }
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
gstreamer = "0.25.1"
gstreamer-app = "0.25.0"
gstreamer-video = "0.25.0"
image = "0.25.10"
chrono = "0.4.44"
ctrlc = "3.5.2"
bytemuck = { version = "1.25.0", features = ["derive"] }
dirs = "6.0.0"
rqrr = "0.10.1"
rfd = "0.17.2"
zbus = "5.14.0"
# XDG portal integration for color-scheme detection on non-COSMIC desktops
ashpd = { version = "0.13.9", default-features = false, features = ["tokio", "settings"] }
uuid = { version = "1.23.0", features = ["v4"] }
clap = { version = "4.6.0", features = ["derive"] }
ratatui = "0.30.0"
crossterm = "0.29.0"
libc = "0.2.183"
dng = "1.5.4"
async-stream = "0.3.6"
# Native libcamera bindings for direct camera access (bypasses GStreamer)
libcamera = "0.7.0"
drm-fourcc = "2.2.0"
turbojpeg = { version = "1.4.0", default-features = false, features = ["cmake"] }
[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",
# About widget for the app
"about",
# 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",
# XDG portal integration for Flatpak theme detection
"xdg-portal",
]
[profile.release]
lto = "fat"
codegen-units = 1
strip = false
debug = 1
[profile.release-fast]
inherits = "release"
lto = false
codegen-units = 16
debug = 0
opt-level = 1
[dev-dependencies]
naga = { version = "29.0.1", features = ["wgsl-in"] }