forked from bilelmoussaoui/ashpd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
49 lines (46 loc) · 2.02 KB
/
Cargo.toml
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
[package]
authors = ["Bilal Elmoussaoui <[email protected]>"]
categories = ["gui", "os::linux-apis", "api-bindings"]
description = "XDG portals wrapper in Rust using zbus"
edition = "2021"
exclude = ["interfaces/*.xml", "ashpd-demo/"]
keywords = ["portal", "flatpak", "xdg", "desktop", "dbus"]
license = "MIT"
name = "ashpd"
repository = "https://github.com/bilelmoussaoui/ashpd"
version = "0.4.0"
[features]
async-std = ["zbus/async-io", "dep:async-std"]
default = ["async-std"]
gtk4 = ["gtk4_x11", "gtk4_wayland"]
gtk4_wayland = ["gdk4wayland", "dep:gtk4"]
gtk4_x11 = ["gdk4x11", "dep:gtk4"]
pipewire = ["pw", "libc"]
raw_handle = ["raw-window-handle", "wayland"]
tokio = ["zbus/tokio", "dep:tokio"]
wayland = ["wayland-client", "wayland-protocols", "wayland-backend"]
[dependencies]
async-std = {version = "1.12", optional = true}
enumflags2 = "0.7"
futures-channel = "0.3"
futures-util = "0.3"
gdk4wayland = {package = "gdk4-wayland", version = "0.8", git="https://github.com/gtk-rs/gtk4-rs.git", optional = true}
gdk4x11 = {package = "gdk4-x11", version = "0.8", git="https://github.com/gtk-rs/gtk4-rs.git", optional = true}
gtk4 = {version = "0.8", git="https://github.com/gtk-rs/gtk4-rs", optional = true}
libc = {version = "0.2", optional = true}
once_cell = "1.14"
pw = {package = "pipewire", version = "0.6", optional = true}
rand = {version = "0.8", default-features = false}
raw-window-handle = {version = "0.5", optional = true}
serde = {version = "1.0", features = ["derive"]}
serde_repr = "0.1"
tokio = {version = "1.21", features = ["fs", "io-util"], optional = true, default-features = false}
tracing = {version = "0.1", optional = true}
url = {version = "2.3", features = ["serde"]}
wayland-backend = {version = "0.1", optional = true, features = ["client_system"]}
wayland-client = {version = "0.30", optional = true}
wayland-protocols = {version = "0.30", optional = true, features = ["unstable", "client"]}
zbus = {version = "3.1", default-features = false, features = ["url"]}
[dev-dependencies]
byteorder = "1.4"
serde_json = "1.0"