Debian Codegraph @

Cargo.toml

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2024"
14 rust-version = "1.87"
15 name = "ashpd"
16 version = "0.13.13"
17 authors = ["Bilal Elmoussaoui <[email protected]>"]
18 build = false
19 autolib = false
20 autobins = false
21 autoexamples = false
22 autotests = false
23 autobenches = false
24 description = "XDG portals wrapper in Rust using zbus"
25 readme = "README.md"
26 keywords = [
27 "portal",
28 "flatpak",
29 "xdg",
30 "desktop",
31 "dbus",
32 ]
33 categories = [
34 "gui",
35 "os::linux-apis",
36 "api-bindings",
37 ]
38 license = "MIT"
39 repository = "https://github.com/bilelmoussaoui/ashpd"
40
41 [package.metadata.docs.rs]
42 features = [
43 "backend",
44 "gtk4",
45 "raw_handle",
46 "account",
47 "background",
48 "camera",
49 "clipboard",
50 "dynamic_launcher",
51 "email",
52 "file_chooser",
53 "game_mode",
54 "global_shortcuts",
55 "inhibit",
56 "input_capture",
57 "location",
58 "memory_monitor",
59 "network_monitor",
60 "notification",
61 "open_uri",
62 "power_profile_monitor",
63 "print",
64 "proxy_resolver",
65 "realtime",
66 "remote_desktop",
67 "screencast",
68 "screenshot",
69 "secret",
70 "settings",
71 "trash",
72 "usb",
73 "wallpaper",
74 "flatpak",
75 "documents",
76 ]
77 rustdoc-args = ["--generate-link-to-definition"]
78
79 [features]
80 account = []
81 async-io = [
82 "zbus/async-io",
83 "futures-util/io",
84 ]
85 backend = ["dep:async-trait"]
86 background = []
87 camera = []
88 clipboard = []
89 default = ["tokio"]
90 documents = ["dep:serde_repr"]
91 dynamic_launcher = ["dep:serde_repr"]
92 email = []
93 file_chooser = ["dep:serde_repr"]
94 flatpak = ["dep:serde_repr"]
95 frontend = [
96 "account",
97 "background",
98 "camera",
99 "clipboard",
100 "dynamic_launcher",
101 "email",
102 "file_chooser",
103 "game_mode",
104 "global_shortcuts",
105 "inhibit",
106 "input_capture",
107 "location",
108 "memory_monitor",
109 "network_monitor",
110 "notification",
111 "open_uri",
112 "power_profile_monitor",
113 "print",
114 "proxy_resolver",
115 "realtime",
116 "remote_desktop",
117 "screencast",
118 "screenshot",
119 "secret",
120 "settings",
121 "trash",
122 "usb",
123 "wallpaper",
124 "flatpak",
125 "documents",
126 ]
127 game_mode = ["dep:serde_repr"]
128 glib = ["dep:glib"]
129 global_shortcuts = []
130 gtk4 = [
131 "gtk4_x11",
132 "gtk4_wayland",
133 ]
134 gtk4_wayland = [
135 "gdk4wayland",
136 "glib",
137 "dep:gtk4",
138 "dep:futures-channel",
139 ]
140 gtk4_x11 = [
141 "gdk4x11",
142 "glib",
143 "dep:gtk4",
144 "dep:futures-channel",
145 ]
146 inhibit = ["dep:serde_repr"]
147 input_capture = ["dep:serde_repr"]
148 location = ["dep:serde_repr"]
149 memory_monitor = []
150 network_monitor = ["dep:serde_repr"]
151 notification = []
152 open_uri = []
153 pipewire = [
154 "dep:pipewire",
155 "dep:futures-channel",
156 ]
157 power_profile_monitor = []
158 print = []
159 proxy_resolver = []
160 raw_handle = ["raw-window-handle"]
161 realtime = []
162 remote_desktop = ["dep:serde_repr"]
163 screencast = ["dep:serde_repr"]
164 screenshot = ["dep:serde_repr"]
165 secret = []
166 settings = []
167 tokio = [
168 "zbus/tokio",
169 "dep:tokio",
170 ]
171 trash = ["dep:serde_repr"]
172 usb = []
173 wallpaper = []
174 wayland = [
175 "wayland-client",
176 "wayland-protocols",
177 "wayland-backend",
178 "dep:futures-channel",
179 ]
180
181 [lib]
182 name = "ashpd"
183 path = "src/lib.rs"
184
185 [[example]]
186 name = "input_capture"
187 path = "examples/input_capture.rs"
188 required-features = ["input_capture"]
189
190 [[example]]
191 name = "screen_cast_gstreamer"
192 path = "examples/screen_cast_gstreamer.rs"
193 required-features = ["screencast"]
194
195 [[example]]
196 name = "screen_cast_pw"
197 path = "examples/screen_cast_pw.rs"
198 required-features = [
199 "screencast",
200 "pipewire",
201 ]
202
203 [dependencies.async-trait]
204 version = "0.1"
205 optional = true
206
207 [dependencies.enumflags2]
208 version = "0.7"
209
210 [dependencies.futures-channel]
211 version = "0.3"
212 optional = true
213
214 [dependencies.futures-util]
215 version = "0.3"
216
217 [dependencies.gdk4wayland]
218 version = "0.11"
219 optional = true
220 package = "gdk4-wayland"
221
222 [dependencies.gdk4x11]
223 version = "0.11"
224 features = ["xlib"]
225 optional = true
226 package = "gdk4-x11"
227
228 [dependencies.getrandom]
229 version = "0.4"
230
231 [dependencies.glib]
232 version = "0.22"
233 optional = true
234
235 [dependencies.gtk4]
236 version = "0.11"
237 optional = true
238
239 [dependencies.pipewire]
240 version = "0.9"
241 optional = true
242
243 [dependencies.raw-window-handle]
244 version = "0.6"
245 optional = true
246
247 [dependencies.serde]
248 version = "1.0"
249 features = ["derive"]
250
251 [dependencies.serde_repr]
252 version = "0.1"
253 optional = true
254
255 [dependencies.tokio]
256 version = "1.43"
257 optional = true
258 default-features = false
259
260 [dependencies.tracing]
261 version = "0.1"
262 optional = true
263
264 [dependencies.wayland-backend]
265 version = "0.3"
266 features = ["client_system"]
267 optional = true
268
269 [dependencies.wayland-client]
270 version = "0.31"
271 optional = true
272
273 [dependencies.wayland-protocols]
274 version = "0.32"
275 features = [
276 "unstable",
277 "client",
278 "staging",
279 ]
280 optional = true
281
282 [dependencies.zbus]
283 version = "5.13"
284 default-features = false
285
286 [dev-dependencies.gst]
287 version = "0.25"
288 package = "gstreamer"
289
290 [dev-dependencies.pipewire]
291 version = "0.9.0"
292
293 [dev-dependencies.quick-xml]
294 version = "0.39"
295
296 [dev-dependencies.reis]
297 version = "0.6"
298 features = ["tokio"]
299
300 [dev-dependencies.serde_json]
301 version = "1.0"
302
303 [dev-dependencies.tokio]
304 version = "1.41"
305 features = [
306 "rt-multi-thread",
307 "macros",
308 ]