[dependencies.async-fs]
optional = true
version = "2.1.0"
[dependencies.async-net]
optional = true
version = "2.0.0"
[dependencies.enumflags2]
version = "0.7"
[dependencies.futures-channel]
version = "0.3"
[dependencies.futures-util]
version = "0.3"
[dependencies.gdk4wayland]
optional = true
package = "gdk4-wayland"
version = "0.8"
[dependencies.gdk4x11]
optional = true
package = "gdk4-x11"
version = "0.8"
[dependencies.glib]
optional = true
version = "0.19"
[dependencies.gtk4]
optional = true
version = "0.8"
[dependencies.pipewire]
optional = true
version = "0.8"
[dependencies.rand]
default-features = false
version = "0.8"
[dependencies.raw-window-handle]
optional = true
version = "0.6"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_repr]
version = "0.1"
[dependencies.tokio]
default-features = false
features = ["fs", "io-util"]
optional = true
version = "1.21"
[dependencies.tracing]
optional = true
version = "0.1"
[dependencies.url]
features = ["serde"]
version = "2.3"
[dependencies.wayland-backend]
features = ["client_system"]
optional = true
version = "0.3"
[dependencies.wayland-client]
optional = true
version = "0.31"
[dependencies.wayland-protocols]
features = ["unstable", "client"]
optional = true
version = "0.31"
[dependencies.zbus]
default-features = false
features = ["url"]
version = "4.0"
[dev-dependencies.serde_json]
version = "1.0"
[features]
async-std = ["zbus/async-io", "dep:async-fs", "dep:async-net"]
default = ["async-std"]
glib = ["dep:glib"]
gtk4 = ["gtk4_x11", "gtk4_wayland"]
gtk4_wayland = ["gdk4wayland", "glib", "dep:gtk4"]
gtk4_x11 = ["gdk4x11", "glib", "dep:gtk4"]
raw_handle = ["raw-window-handle", "wayland"]
tokio = ["zbus/tokio", "dep:tokio"]
wayland = ["wayland-client", "wayland-protocols", "wayland-backend"]
[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"
readme = "README.md"
repository = "https://github.com/bilelmoussaoui/ashpd"
rust-version = "1.75"
version = "0.8.1"
[package.metadata.docs.rs]
features = ["gtk4", "raw_handle"]
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]