[package]
authors = ["Bilal Elmoussaoui <bil.elmoussaoui@gmail.com>"]
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.3.2"
[features]
default_features = []
feature_gtk3 = ["gdk3x11", "gdk3wayland", "gtk3"]
feature_gtk4 = ["gdk4x11", "gdk4wayland", "gtk4"]
feature_pipewire = ["pw", "libc"]
log = ["tracing"]
tokio_runtime = ["zbus/tokio"]
raw_handle = ["raw-window-handle", "wayland"]
wayland = ["wayland-client", "wayland-protocols", "wayland-backend"]
[dependencies]
enumflags2 = "0.7"
gdk3x11 = {package = "gdkx11", version = "0.15", optional = true}
gdk3wayland = {package = "gdkwayland", version = "0.15", optional = true, features = ["v3_22"]}
gtk3 = {package = "gtk", version = "0.15", optional = true}
gdk4wayland = {package = "gdk4-wayland", version = "0.4", optional = true}
gdk4x11 = {package = "gdk4-x11", version = "0.4", optional = true}
gtk4 = {version = "0.4", optional = true}
pw = {package= "pipewire", version = "0.5", optional = true}
serde = {version = "1.0", features = ["derive"]}
serde_repr = "0.1"
rand = {version = "0.8", default-features = false}
zbus = "2.0.0"
futures = "0.3"
tracing = {version = "0.1", optional = true}
libc = {version = "0.2.94", optional = true}
raw-window-handle = {version = "0.4", optional = true}
wayland-client = {version = "0.30.0-alpha2", optional = true}
wayland-protocols = {version = "0.30.0-alpha2", optional = true, features = ["unstable_protocols", "client"]}
wayland-backend = {version = "0.1.0-alpha2", optional = true, features = ["client_system"]}
[dev-dependencies]
serde_json = "1.0"
byteorder = "1.0"