2023-08-07 18:44:40 +03:00
|
|
|
[package]
|
|
|
|
name = "niri"
|
|
|
|
version = "0.1.0"
|
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"
|
2023-08-07 18:44:40 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2023-08-15 16:18:30 +03:00
|
|
|
anyhow = { version = "1.0.72" }
|
2023-08-09 10:03:38 +03:00
|
|
|
bitflags = "2.3.3"
|
|
|
|
clap = { version = "4.3.21", features = ["derive"] }
|
2023-08-27 18:34:37 +03:00
|
|
|
directories = "5.0.1"
|
|
|
|
image = { version = "0.24.7", default-features = false, features = ["png"] }
|
2023-08-14 14:54:11 +03:00
|
|
|
keyframe = { version = "1.1.1", default-features = false }
|
2023-09-05 11:58:51 +03:00
|
|
|
knuffel = "3.2.0"
|
2023-09-03 06:31:44 +03:00
|
|
|
logind-zbus = "3.1.2"
|
2023-09-05 11:58:51 +03:00
|
|
|
miette = { version = "5.10.0", features = ["fancy"] }
|
2023-09-06 14:49:46 +03:00
|
|
|
portable-atomic = { version = "1.4.3", default-features = false, features = ["float"] }
|
2023-08-10 13:12:20 +03:00
|
|
|
profiling = "1.0.9"
|
2023-08-27 06:37:36 +03:00
|
|
|
sd-notify = "0.4.1"
|
2023-09-05 11:58:51 +03:00
|
|
|
serde = { version = "1.0.188", features = ["derive"] }
|
2023-08-27 18:34:37 +03:00
|
|
|
time = { version = "0.3.28", features = ["formatting", "local-offset", "macros"] }
|
2023-09-04 14:10:16 +03:00
|
|
|
tracing = { version = "0.1.37", features = ["max_level_trace", "release_max_level_debug"] }
|
2023-08-09 10:03:38 +03:00
|
|
|
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
|
2023-08-10 13:12:20 +03:00
|
|
|
tracy-client = { version = "0.15.2", default-features = false }
|
2023-08-15 16:17:42 +03:00
|
|
|
xcursor = "0.3.4"
|
2023-08-27 09:29:06 +03:00
|
|
|
zbus = { version = "3.14.1" }
|
2023-08-07 18:44:40 +03:00
|
|
|
|
|
|
|
[dependencies.smithay]
|
2023-09-04 15:36:27 +03:00
|
|
|
git = "https://github.com/Smithay/smithay.git"
|
2023-08-07 18:44:40 +03:00
|
|
|
default-features = false
|
|
|
|
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-09-02 14:09:07 +03:00
|
|
|
"libinput_1_19",
|
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-03 16:13:35 +03:00
|
|
|
[dependencies.smithay-drm-extras]
|
2023-09-04 15:36:27 +03:00
|
|
|
git = "https://github.com/Smithay/smithay.git"
|
2023-09-03 16:13:35 +03:00
|
|
|
|
2023-08-10 13:12:20 +03:00
|
|
|
[features]
|
|
|
|
profile-with-tracy = ["profiling/profile-with-tracy", "tracy-client/default"]
|
|
|
|
|
2023-08-14 14:22:10 +03:00
|
|
|
[profile.release]
|
|
|
|
overflow-checks = true
|
2023-08-27 15:23:02 +03:00
|
|
|
|
|
|
|
[package.metadata.generate-rpm]
|
|
|
|
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" },
|
|
|
|
{ source = "resources/niri.service", dest = "/usr/lib/systemd/user/", mode = "644" },
|
|
|
|
]
|
|
|
|
[package.metadata.generate-rpm.requires]
|
|
|
|
alacritty = "*"
|