aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml6
1 files changed, 5 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index a361602e..5f12e742 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -21,7 +21,7 @@ logind-zbus = "3.1.2"
log = { version = "0.4.20", features = ["max_level_trace", "release_max_level_debug"] }
miette = "5.10.0"
nix = { version = "0.27.1", default-features = false, features = ["time"] }
-pipewire = "0.7.2"
+pipewire = { version = "0.7.2", optional = true }
portable-atomic = { version = "1.4.3", default-features = false, features = ["float"] }
profiling = "1.0.11"
sd-notify = "0.4.1"
@@ -62,6 +62,10 @@ proptest = "1.2.0"
proptest-derive = "0.4.0"
[features]
+default = ["xdp-gnome-screencast"]
+# Enables screencasting support through xdg-desktop-portal-gnome.
+xdp-gnome-screencast = ["pipewire"]
+# Enables the Tracy profiler instrumentation.
profile-with-tracy = ["profiling/profile-with-tracy", "tracy-client/default"]
[profile.release]