Cargo Features

[dependencies]
ashpd = { version = "0.10.2", default-features = false, features = ["async-std", "backend", "gtk4", "gtk4_wayland", "gtk4_x11", "raw_handle", "tokio", "glib", "wayland", "pipewire", "tracing"] }
default = tokio

The tokio feature is set by default whenever ashpd is added without default-features = false somewhere in the dependency tree.

async-std

Enables async-fs and async-net, async-io of zbus

backend = async-trait, tokio

Affects ashpd::backend

gtk4 = gtk4_wayland, gtk4_x11
gtk4_wayland gtk4? = gdk4wayland, glib

Enables gtk4

gtk4_x11 gtk4? = gdk4x11, glib

Enables gtk4

raw_handle = raw-window-handle, wayland
tokio default backend?

Enables tokio, tokio of zbus

glib gtk4_wayland? gtk4_x11?

Enables glib

wayland raw_handle? = wayland-backend, wayland-client, wayland-protocols

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

async-trait backend?
gdk4wayland gtk4_wayland?

Enables gdk4-wayland

gdk4x11 gtk4_x11?

Enables gdk4-x11

pipewire implicit feature

Enables pipewire

pipewire:

Rust bindings for PipeWire

Affects camera::Stream, camera::pipewire_streams, camera::request

raw-window-handle raw_handle?
tracing implicit feature

Enables tracing

tracing:

Application-level tracing for Rust

wayland-backend wayland?
wayland-client wayland?
wayland-protocols wayland?