-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
59 lines (57 loc) · 2.04 KB
/
Copy pathCargo.toml
File metadata and controls
59 lines (57 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[package]
name = "hotaru"
version = "0.1.0"
edition = "2021"
[dependencies]
anyhow = "1.0.101"
async-channel = "2.5.0"
async-io = "2.6.0"
clap = { version = "4.5.58", features = ["derive"] }
enum_dispatch = "0.3.13"
gdk-x11 = { version = "0.11.4", package = "gdk4-x11" }
gst = { version = "0.25.3", package = "gstreamer" }
gst-play = { version = "0.25.0", package = "gstreamer-play" }
gst-plugin-gtk4 = "0.15.2"
gtk = { version = "0.11.4", package = "gtk4", features = ["v4_14"] }
gtk4-layer-shell = "0.8.0"
libc = { version = "0.2.180", optional = true }
libloading = { version = "0.8.9", optional = true }
libmpv2 = { version = "6.0.0", optional = true }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
strum = "0.27.2"
strum_macros = "0.27.2"
thiserror = "2.0.18"
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.22", features = ["env-filter"] }
wayland-client = "0.31.14"
webkit = { version = "0.6.1", package = "webkit6" }
x11rb = "0.13.2"
zbus = "5.13.2"
[features]
default = ["base", "mpv", "wpe"]
# Everything except the optional renderers; build with
# --no-default-features --features base to skip libmpv.
base = [
"dmabuf",
"gst_v1_24",
"wayland",
"waylandegl",
"x11egl",
"x11glx",
]
dmabuf = ["gst-plugin-gtk4/dmabuf"]
gst_v1_24 = ["gst/v1_24", "gst-play/v1_24"]
# libmpv-based video renderer. Requires libmpv (client API 2.x) at build
# and run time.
mpv = ["dep:libmpv2", "dep:libloading", "dep:libc", "gdk-x11/v4_4", "gdk-x11/egl"]
# Wallpaper Engine scene rendering, backed by linux-wallpaperengine's embed
# API (wpe_embed.h). The engine library is dlopen'd at runtime (set
# HOTARU_WPE_LIBRARY to override the name/path), so this adds no build-time
# dependency. Only scene-type WPE packages need this; wpe video/web
# packages delegate to the video/web renderers and work without it.
wpe = ["dep:libloading", "dep:libc", "gdk-x11/v4_4", "gdk-x11/egl"]
wayland = ["gst-plugin-gtk4/wayland"]
waylandegl = ["gst-plugin-gtk4/waylandegl"]
x11egl = ["gst-plugin-gtk4/x11egl"]
x11glx = ["gst-plugin-gtk4/x11glx"]