fork/glide

git clone https://git.julia.blue/fork/glide

Tyler MandryMerge pull request #57 from glide-wm/server2b7b92d5

main
4.5 KiB151 linesraw
1[package]
2name = "glide-wm"
3version = "0.1.1"
4edition = "2024"
5
6license = "Apache-2.0 OR MIT"
7description = "A tiling window manager for macOS"
8authors = ["Tyler Mandry"]
9readme = "README.md"
10homepage = "https://glidewm.org"
11repository = "https://github.com/glide-wm/glide"
12
13publish = false
14
15default-run = "glide_server"
16
17[[bin]]
18name = "glide_server"
19test = false
20
21# We don't have a need for unwinding, and aborting means we don't have to worry
22# about propagating panics to the main CFRunLoop thread.
23#
24# However, since panic-abort-tests is not stable yet, we will always build test
25# deps with panic=unwind. Therefore dev builds continue to use panic=unwind
26# with a panic hook that aborts so we can reuse dependency builds.
27[profile]
28release.panic = "abort"
29
30[features]
31
32# WARNING: exec_cmd causes Glide to run any arbitrary command with full access
33# to accessibility APIs, which can read anything on your screen and monitor
34# input. Paired with the glide CLI it allows anyone who can modify your config
35# and run the CLI command, or who can connect to Glide's server port, including
36# other users on the same machine, to escalate to these privileges.
37#
38# Make sure you understand these risks before enabling the feature.
39exec_cmd = []
40
41[dependencies]
42accessibility = { version = "0.3.0", git = "https://github.com/eiz/accessibility", branch = "master" }
43accessibility-sys = { version = "0.2.0", git = "https://github.com/eiz/accessibility", branch = "master" }
44anyhow = "1.0.83"
45ascii_tree = "0.1.1"
46bitflags = "2.4.1"
47clap = { version = "4.5.4", features = ["derive"] }
48core-foundation = "0.10.1"
49core-graphics = "0.25.0"
50core-graphics-types = "0.2.0"
51dirs = "5.0.1"
52indexmap = { version = "2.10.0", features = ["serde"] }
53livesplit-hotkey = "0.8.0"
54macro_rules_attribute = "0.2.2"
55objc2 = "0.6.2"
56objc2-app-kit = { version = "0.3.2", default-features = false, features = [
57    "NSAlert",
58    "NSApplication",
59    "NSButton",
60    "NSControl",
61    "NSColor",
62    "NSEvent",
63    "NSFont",
64    "NSGraphics",
65    "NSImage",
66    "NSRunningApplication",
67    "NSResponder",
68    "NSScreen",
69    "NSStatusBar",
70    "NSStatusBarButton",
71    "NSStatusItem",
72    "NSText",
73    "NSTextField",
74    "NSView",
75    "NSWindow",
76    "NSWindowScripting",
77    "NSWorkspace",
78    "objc2-core-foundation",
79    "objc2-core-graphics",
80    "objc2-quartz-core",
81] }
82objc2-quartz-core = { version = "0.3.2", default-features = false, features = [
83    "CALayer",
84    "objc2-core-foundation",
85    "objc2-core-graphics",
86] }
87objc2-core-foundation = { version = "0.3.2", default-features = false, features = [
88    "alloc",
89    "CFCGTypes",
90    "CFMessagePort",
91    "CFRunLoop",
92    "CFData",
93    "CFDate",
94    "CFString",
95] }
96objc2-core-graphics = { version = "0.3.2", default-features = false, features = [
97    "CGDirectDisplay", "CGRemoteOperation", "CGError"
98] }
99objc2-foundation = { version = "0.3.2", default-features = false, features = [
100    "NSArray",
101    "NSEnumerator",
102    "NSNotification",
103    "NSKeyValueCoding",
104    "NSString",
105    "NSThread",
106    "NSValue",
107] }
108rand = "0.8.5"
109redact = { version = "0.1.11", features = ["serde"] }
110ron = "0.12.0"
111rustc-hash = "2.0.0"
112serde = { version = "1.0.201", features = ["derive", "rc"] }
113serde_with = "3.9.0"
114slotmap = { version = "1.0.7", features = ["serde"] }
115sorted-vec = "0.8.10"
116static_assertions = "1.1.0"
117tokio = { version = "1.35.1", features = ["macros", "sync"] }
118tokio-stream = "0.1.16"
119tokio-util = "0.7.15"
120toml = "0.9.2"
121tracing = "0.1.40"
122tracing-appender = { version = "0.2.4" }
123tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
124tracing-timing = { version = "0.6.0", features = ["layer"] }
125tracing-tree = { version = "0.4.1", features = ["time"] }
126notify = "8.2.0"
127notify-debouncer-mini = "0.7.0"
128thiserror = "2.0.17"
129
130[dev-dependencies]
131pretty_assertions = "1.4.0"
132tokio = { version = "1.35.1", features = ["rt", "sync", "macros"] }
133test-log = { version = "0.2.16", default-features = false, features = [
134    "trace",
135] }
136tempfile = { version = "3.17.1", default-features = false }
137
138[package.metadata.packager]
139productName = "Glide"
140identifier = "org.glidewm.glide"
141icons = ["assets/app_icon-128x128@2x.png"]
142binaries = [
143    {path = "glide"},
144    {path = "glide_server", main = true},
145]
146macos.signingIdentity = "Developer ID Application: Tyler Mandry (77455J9D7M)"
147
148# We want the application to activate on first run so the permission flow isn't
149# covered by other apps, so we don't mark it as a background app for now.
150# Instead, we set the activation policy after the app starts.
151# macos.backgroundApp = true