Registry / utility / ashpd
library0.13.11rscratesunverified

XDG portals wrapper in Rust using zbus.

# Cargo.toml [dependencies] ashpd = "0.13.11"
INSTALL
IMPORT
SIG · ASHPD
A
ashpd
utilityrustv0.13.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Portal
use ashpd::Portal;

Initializes an XDG portal session.

use ashpd::Portal; #[tokio::main] async fn main() { let portal = Portal::new().await.unwrap(); println!("Portal initialized"); }
Debug
Known issues
gotchaRequires a D-Bus session bus and async runtime.
fix
Ensure D-Bus is running and use an async runtime like tokio or async-std.
affects: >=0.1.0
Upgrade
Version history
0.13.11latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
2
Resources
ashpd — cargo add ashpd · libregistry