Cargo Features

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

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

async-std default

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

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

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.

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?