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 wheneverashpd
is added without
somewhere in the dependency tree.default-features = false - async-std
- 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?
- 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?