Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
85 lines (79 loc) · 3 KB
/
Copy pathCargo.toml
File metadata and controls
85 lines (79 loc) · 3 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
[package]
name = "openmouse-bridge"
version = "1.0.0-beta.14"
edition = "2024"
description = "Local native HID and desktop companion for the OpenMouse control panel"
license = "MIT"
[build-dependencies]
winresource = "0.1"
[dependencies]
anyhow = "1.0"
axum = { version = "0.8", features = ["ws"] }
directories = "6.0"
hidapi = "2.6.6"
notify-rust = "4.11"
png = "0.18"
semver = "1.0"
sha2 = "0.10"
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sysinfo = "0.37"
tokio = { version = "1.47", features = ["macros", "net", "rt-multi-thread", "signal", "sync", "time"] }
tower-http = { version = "0.6", features = ["cors", "set-header", "trace"] }
tracing = "0.1"
tracing-appender = "0.2"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
zip = { version = "4.6", default-features = false, features = ["deflate"] }
[target.'cfg(any(target_os = "windows", target_os = "macos", target_os = "linux"))'.dependencies]
eframe = { version = "0.36.1", default-features = false, features = ["accesskit", "default_fonts", "glow", "wayland", "x11"] }
# The profile-switch overlay draws its banner on the CPU with the same font
# stack egui already builds (skrifa outlines, vello_cpu rasterizer).
epaint_default_fonts = "0.36.1"
skrifa = { version = "0.44", default-features = false, features = ["std"] }
vello_cpu = { version = "0.1", default-features = false, features = ["std", "u8_pipeline"] }
# No libxdo: tray-icon's default features link libxdo (via muda) for the
# predefined Copy/Cut/Paste/SelectAll menu items, which Bridge never uses
# (desktop.rs only builds plain MenuItems). The gtk feature alone keeps the
# AppIndicator menu working and removes the libxdo.so.3 runtime requirement,
# which Arch/CachyOS cannot satisfy (their xdotool ships libxdo.so.4).
tray-icon = { version = "0.24.2", default-features = false, features = ["gtk"] }
[target.'cfg(target_os = "linux")'.dependencies]
# X11 overlay banner and foreground-window lookup. Pure Rust; no system
# libraries beyond what eframe/tray-icon already require.
x11rb = "0.13"
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.6.4"
objc2-app-kit = { version = "0.3.2", default-features = false, features = [
"NSApplication",
"NSBitmapImageRep",
"NSColor",
"NSControl",
"NSGraphics",
"NSImage",
"NSImageRep",
"NSImageView",
"NSPanel",
"NSResponder",
"NSRunningApplication",
"NSScreen",
"NSSound",
"NSView",
"NSWindow",
"NSWorkspace",
] }
objc2-foundation = { version = "0.3.2", default-features = false, features = ["NSArray", "NSData", "NSGeometry", "NSString"] }
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.61", features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_Media",
"Win32_Media_Audio",
"Win32_System_LibraryLoader",
"Win32_Storage_FileSystem",
"Win32_System_Registry",
"Win32_System_Threading",
"Win32_UI_HiDpi",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
] }