-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
70 lines (53 loc) · 1.43 KB
/
Copy pathCargo.toml
File metadata and controls
70 lines (53 loc) · 1.43 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
[package]
name = "boomer"
version = "0.1.0"
edition = "2021"
authors = ["Alpha"]
description = "Zoomer application for boomers - Screen magnification tool"
license = "MIT"
repository = "https://github.com/AlphaLawless/boomer-rs"
keywords = ["screen", "zoom", "magnifier", "x11", "wayland"]
categories = ["multimedia::images", "graphics"]
[dependencies]
# Windowing cross-platform (X11 + Wayland)
winit = { version = "0.30", features = ["x11", "wayland"] }
# OpenGL context creation (EGL/GLX)
glutin = "0.32"
glutin-winit = "0.5"
raw-window-handle = "0.6"
# OpenGL bindings
glow = "0.16"
# Linear algebra
glam = "0.29"
# Image handling
image = { version = "0.25", default-features = false, features = ["png"] }
# Configuration
dirs = "6"
# Byte casting
bytemuck = { version = "1", features = ["derive"] }
# System calls for SHM
libc = "0.2"
# CLI parsing
clap = { version = "4", features = ["derive"] }
# Error handling
anyhow = "1"
# Logging
log = "0.4"
env_logger = "0.11"
# Async runtime (for portal)
tokio = { version = "1", features = ["rt", "macros"], optional = true }
# X11 capture
x11rb = { version = "0.13", features = ["shm", "randr"], optional = true }
# Wayland capture via XDG Portal
ashpd = { version = "0.10", optional = true }
[features]
default = ["x11", "wayland"]
x11 = ["dep:x11rb"]
wayland = ["dep:ashpd", "dep:tokio"]
[profile.release]
lto = true
codegen-units = 1
strip = true
panic = "abort"
[profile.dev]
opt-level = 1