2024-01-07 08:07:22 +03:00
|
|
|
[workspace.package]
|
2024-01-06 08:30:46 +03:00
|
|
|
version = "0.1.0-alpha.3"
|
2023-08-13 11:46:53 +03:00
|
|
|
description = "A scrollable-tiling Wayland compositor"
|
2023-08-09 10:03:38 +03:00
|
|
|
authors = ["Ivan Molodetskikh <yalterz@gmail.com>"]
|
2023-08-08 15:34:01 +03:00
|
|
|
license = "GPL-3.0-or-later"
|
2023-08-09 10:03:38 +03:00
|
|
|
edition = "2021"
|
2024-01-07 08:07:22 +03:00
|
|
|
repository = "https://github.com/YaLTeR/niri"
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
2024-01-19 08:41:16 +03:00
|
|
|
bitflags = "2.4.2"
|
2024-01-07 08:07:22 +03:00
|
|
|
directories = "5.0.1"
|
2024-01-17 09:38:32 +03:00
|
|
|
serde = { version = "1.0.195", features = ["derive"] }
|
2024-01-07 08:07:22 +03:00
|
|
|
tracing = { version = "0.1.40", features = ["max_level_trace", "release_max_level_debug"] }
|
2024-01-16 11:53:01 +03:00
|
|
|
tracy-client = { version = "0.16.5", default-features = false }
|
2024-01-07 08:07:22 +03:00
|
|
|
|
|
|
|
[workspace.dependencies.smithay]
|
|
|
|
git = "https://github.com/Smithay/smithay.git"
|
|
|
|
# path = "../smithay"
|
|
|
|
default-features = false
|
|
|
|
|
|
|
|
[workspace.dependencies.smithay-drm-extras]
|
|
|
|
git = "https://github.com/Smithay/smithay.git"
|
|
|
|
# path = "../smithay/smithay-drm-extras"
|
|
|
|
|
|
|
|
[package]
|
|
|
|
name = "niri"
|
|
|
|
version.workspace = true
|
|
|
|
description.workspace = true
|
|
|
|
authors.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
repository.workspace = true
|
2023-08-07 18:44:40 +03:00
|
|
|
|
2023-11-25 10:24:35 +03:00
|
|
|
readme = "README.md"
|
|
|
|
keywords = ["wayland", "compositor", "tiling", "smithay", "wm"]
|
|
|
|
|
2023-08-07 18:44:40 +03:00
|
|
|
[dependencies]
|
2024-01-05 16:15:52 +03:00
|
|
|
anyhow = { version = "1.0.79" }
|
2023-10-11 13:32:29 +03:00
|
|
|
arrayvec = "0.7.4"
|
2023-12-08 07:01:52 +03:00
|
|
|
async-channel = { version = "2.1.1", optional = true }
|
2023-10-10 09:25:26 +03:00
|
|
|
async-io = { version = "1.13.0", optional = true }
|
2024-01-19 08:41:16 +03:00
|
|
|
bitflags = "2.4.2"
|
|
|
|
calloop = { version = "0.12.4", features = ["executor", "futures-io"] }
|
2024-01-19 19:46:10 +03:00
|
|
|
clap = { version = "4.4.18", features = ["derive", "string"] }
|
2023-08-27 18:34:37 +03:00
|
|
|
directories = "5.0.1"
|
2024-01-17 09:38:32 +03:00
|
|
|
futures-util = { version = "0.3.30", default-features = false, features = ["std", "io"] }
|
2023-12-19 20:06:49 +03:00
|
|
|
git-version = "0.3.9"
|
2023-08-14 14:54:11 +03:00
|
|
|
keyframe = { version = "1.1.1", default-features = false }
|
2024-01-19 08:41:16 +03:00
|
|
|
libc = "0.2.152"
|
2023-09-27 10:51:27 +03:00
|
|
|
log = { version = "0.4.20", features = ["max_level_trace", "release_max_level_debug"] }
|
2024-01-18 10:00:49 +03:00
|
|
|
logind-zbus = { version = "3.1.2", optional = true }
|
2024-01-07 08:07:22 +03:00
|
|
|
niri-config = { version = "0.1.0-alpha.3", path = "niri-config" }
|
2024-01-17 09:38:32 +03:00
|
|
|
niri-ipc = { version = "0.1.0-alpha.3", path = "niri-ipc" }
|
2023-11-24 10:49:07 +03:00
|
|
|
notify-rust = { version = "4.10.0", optional = true }
|
2024-01-18 10:15:48 +03:00
|
|
|
pangocairo = "0.18.0"
|
2023-09-30 08:58:34 +03:00
|
|
|
pipewire = { version = "0.7.2", optional = true }
|
2024-01-19 08:41:16 +03:00
|
|
|
png = "0.17.11"
|
2023-12-08 07:01:52 +03:00
|
|
|
portable-atomic = { version = "1.6.0", default-features = false, features = ["float"] }
|
2024-01-05 16:15:52 +03:00
|
|
|
profiling = "1.0.13"
|
2023-08-27 06:37:36 +03:00
|
|
|
sd-notify = "0.4.1"
|
2024-01-17 09:38:32 +03:00
|
|
|
serde.workspace = true
|
|
|
|
serde_json = "1.0.111"
|
2024-01-07 08:07:22 +03:00
|
|
|
smithay-drm-extras.workspace = true
|
2023-11-24 10:49:07 +03:00
|
|
|
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
|
2024-01-07 08:07:22 +03:00
|
|
|
tracing.workspace = true
|
2024-01-16 11:53:01 +03:00
|
|
|
tracy-client.workspace = true
|
2023-11-24 10:49:07 +03:00
|
|
|
url = { version = "2.5.0", optional = true }
|
2023-12-19 20:06:49 +03:00
|
|
|
xcursor = "0.3.5"
|
2023-10-10 09:25:26 +03:00
|
|
|
zbus = { version = "3.14.1", optional = true }
|
2023-08-07 18:44:40 +03:00
|
|
|
|
|
|
|
[dependencies.smithay]
|
2024-01-07 08:07:22 +03:00
|
|
|
workspace = true
|
2023-08-07 18:44:40 +03:00
|
|
|
features = [
|
2023-08-09 10:03:38 +03:00
|
|
|
"backend_drm",
|
|
|
|
"backend_egl",
|
|
|
|
"backend_gbm",
|
|
|
|
"backend_libinput",
|
|
|
|
"backend_session_libseat",
|
|
|
|
"backend_udev",
|
2023-08-07 18:44:40 +03:00
|
|
|
"backend_winit",
|
|
|
|
"desktop",
|
2023-08-09 10:03:38 +03:00
|
|
|
"renderer_gl",
|
|
|
|
"renderer_multi",
|
|
|
|
"use_system_lib",
|
|
|
|
"wayland_frontend",
|
2023-08-07 18:44:40 +03:00
|
|
|
]
|
2023-08-10 13:12:20 +03:00
|
|
|
|
2023-09-27 12:35:02 +03:00
|
|
|
[dev-dependencies]
|
2023-11-24 10:49:07 +03:00
|
|
|
proptest = "1.4.0"
|
2023-09-27 12:35:02 +03:00
|
|
|
proptest-derive = "0.4.0"
|
|
|
|
|
2023-08-10 13:12:20 +03:00
|
|
|
[features]
|
2023-10-10 09:25:26 +03:00
|
|
|
default = ["dbus", "xdp-gnome-screencast"]
|
|
|
|
# Enables DBus support (required for xdp-gnome and power button inhibiting).
|
2023-10-31 16:06:14 +03:00
|
|
|
dbus = ["zbus", "logind-zbus", "async-channel", "async-io", "notify-rust", "url"]
|
2023-09-30 08:58:34 +03:00
|
|
|
# Enables screencasting support through xdg-desktop-portal-gnome.
|
2023-10-10 09:25:26 +03:00
|
|
|
xdp-gnome-screencast = ["dbus", "pipewire"]
|
2023-09-30 08:58:34 +03:00
|
|
|
# Enables the Tracy profiler instrumentation.
|
2023-08-10 13:12:20 +03:00
|
|
|
profile-with-tracy = ["profiling/profile-with-tracy", "tracy-client/default"]
|
|
|
|
|
2023-08-14 14:22:10 +03:00
|
|
|
[profile.release]
|
2023-11-06 08:18:50 +03:00
|
|
|
debug = "line-tables-only"
|
2023-08-14 14:22:10 +03:00
|
|
|
overflow-checks = true
|
2023-11-06 07:47:05 +03:00
|
|
|
lto = "thin"
|
2023-08-27 15:23:02 +03:00
|
|
|
|
2024-01-07 08:28:50 +03:00
|
|
|
[profile.release.package.niri-config]
|
|
|
|
# knuffel with chomsky generates a metric ton of debuginfo.
|
|
|
|
debug = false
|
|
|
|
|
2023-08-27 15:23:02 +03:00
|
|
|
[package.metadata.generate-rpm]
|
2024-01-06 08:30:46 +03:00
|
|
|
version = "0.1.0~alpha.3"
|
2023-08-27 15:23:02 +03:00
|
|
|
assets = [
|
|
|
|
{ source = "target/release/niri", dest = "/usr/bin/", mode = "755" },
|
|
|
|
{ source = "resources/niri-session", dest = "/usr/bin/", mode = "755" },
|
|
|
|
{ source = "resources/niri.desktop", dest = "/usr/share/wayland-sessions/", mode = "644" },
|
2023-11-09 13:52:04 +03:00
|
|
|
{ source = "resources/niri-portals.conf", dest = "/usr/share/xdg-desktop-portal/", mode = "644" },
|
2023-08-27 15:23:02 +03:00
|
|
|
{ source = "resources/niri.service", dest = "/usr/lib/systemd/user/", mode = "644" },
|
2023-11-25 10:01:23 +03:00
|
|
|
{ source = "resources/niri-shutdown.target", dest = "/usr/lib/systemd/user/", mode = "644" },
|
2023-08-27 15:23:02 +03:00
|
|
|
]
|
|
|
|
[package.metadata.generate-rpm.requires]
|
|
|
|
alacritty = "*"
|