-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
71 lines (59 loc) · 1.68 KB
/
Cargo.toml
File metadata and controls
71 lines (59 loc) · 1.68 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
[package]
name = "rspin"
version = "0.1.1"
edition = "2021"
description = "A desktop sticky image viewer for Wayland"
authors = ["Your Name"]
license = "MIT"
repository = "https://github.com/dashu041120/rspin"
homepage = "https://github.com/dashu041120/rspin"
keywords = ["wayland", "image-viewer", "overlay", "wgpu"]
categories = ["multimedia::images"]
[package.metadata.deb]
maintainer = "dashu041120"
copyright = "2024-2025, dashu041120"
section = "graphics"
priority = "optional"
depends = "libwayland-client0, libxkbcommon0"
suggests = "wl-clipboard | xclip"
assets = [
["target/release/rspin", "usr/bin/", "755"],
["README.md", "usr/share/doc/rspin/", "644"],
]
[package.metadata.generate-rpm]
name = "rspin"
license = "MIT"
assets = [
{ source = "target/release/rspin", dest = "/usr/bin/rspin", mode = "755" },
{ source = "README.md", dest = "/usr/share/doc/rspin/README.md", mode = "644", doc = true },
]
[package.metadata.generate-rpm.requires]
wayland = "*"
libxkbcommon = "*"
[dependencies]
# Wayland client toolkit
smithay-client-toolkit = "0.19"
wayland-client = "0.31"
wayland-backend = { version = "0.3", features = ["client_system"] }
wayland-protocols = { version = "0.32", features = ["client", "staging", "unstable"] }
# GPU rendering
wgpu = "0.19"
raw-window-handle = "0.6"
pollster = "0.3"
bytemuck = { version = "1.14", features = ["derive"] }
# Image handling
image = "0.25"
# Command line parsing
clap = { version = "4", features = ["derive"] }
# Error handling
anyhow = "1.0"
thiserror = "1.0"
# Logging
log = "0.4"
env_logger = "0.11"
# For reading from stdin
atty = "0.2"
# Memory mapping for shared memory
memmap2 = "0.9"
# Text rendering
cosmic-text = "0.12"