2024-02-18 06:50:36 +01:00
|
|
|
[workspace]
|
2024-04-13 17:56:02 +02:00
|
|
|
members = [
|
|
|
|
"pinnacle-api-defs",
|
|
|
|
"api/rust",
|
|
|
|
"api/rust/pinnacle-api-macros",
|
|
|
|
"wlcs_pinnacle",
|
2024-12-16 06:36:30 +01:00
|
|
|
"api/lua/build",
|
|
|
|
# snowcap
|
|
|
|
"snowcap",
|
|
|
|
"snowcap/api/rust",
|
|
|
|
"snowcap/snowcap-api-defs",
|
2024-04-13 17:56:02 +02:00
|
|
|
]
|
2024-08-06 01:37:05 +02:00
|
|
|
exclude = [
|
|
|
|
"lcat", # The docs building repo is currently cloned into this repo in CI
|
|
|
|
]
|
2024-02-18 06:50:36 +01:00
|
|
|
|
|
|
|
[workspace.package]
|
|
|
|
authors = ["Ottatop <ottatop1227@gmail.com>"]
|
|
|
|
edition = "2021"
|
|
|
|
repository = "https://github.com/pinnacle-comp/pinnacle/"
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
2024-03-02 08:23:31 +01:00
|
|
|
# Tokio
|
2024-06-14 00:21:32 +02:00
|
|
|
tokio = { version = "1.38.0", features = ["macros", "rt-multi-thread"]}
|
2024-03-30 23:23:47 +01:00
|
|
|
tokio-stream = { version = "0.1.15", features = ["net"] }
|
2024-03-02 08:23:31 +01:00
|
|
|
# gRPC
|
2024-07-16 21:53:52 +02:00
|
|
|
prost = "0.13.1"
|
|
|
|
tonic = "0.12.0"
|
|
|
|
tonic-reflection = "0.12.0"
|
|
|
|
tonic-build = "0.12.0"
|
2024-04-26 10:21:43 +02:00
|
|
|
# Tracing
|
|
|
|
tracing = "0.1.40"
|
|
|
|
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "registry"] }
|
2024-03-02 08:23:31 +01:00
|
|
|
# API definitions
|
2024-02-18 06:50:36 +01:00
|
|
|
pinnacle-api-defs = { path = "./pinnacle-api-defs" }
|
2024-03-02 08:23:31 +01:00
|
|
|
# Misc.
|
2024-08-06 01:37:05 +02:00
|
|
|
xkbcommon = "0.8.0"
|
2024-02-18 06:50:36 +01:00
|
|
|
xdg = "2.5.2"
|
2024-04-16 18:10:47 +02:00
|
|
|
bitflags = "2.5.0"
|
2024-06-22 20:08:25 +02:00
|
|
|
clap = { version = "4.5.7", features = ["derive"] }
|
2024-04-21 21:25:35 +02:00
|
|
|
dircpy = "0.3.16"
|
2024-04-26 10:21:43 +02:00
|
|
|
tempfile = "3.10.1"
|
2024-06-15 23:58:47 +02:00
|
|
|
indexmap = "2.2.6"
|
2024-12-16 06:36:30 +01:00
|
|
|
anyhow = { version = "1.0.86", features = ["backtrace"] }
|
|
|
|
snowcap-api-defs = { path = "./snowcap/snowcap-api-defs" }
|
|
|
|
hyper-util = { version = "0.1.6", features = ["tokio"] }
|
2024-02-18 06:50:36 +01:00
|
|
|
|
2024-05-08 05:30:48 +02:00
|
|
|
[workspace.dependencies.smithay]
|
2024-06-04 17:48:34 +02:00
|
|
|
git = "https://github.com/Smithay/smithay"
|
2024-08-06 01:37:05 +02:00
|
|
|
rev = "e7f0857"
|
2024-06-04 17:48:34 +02:00
|
|
|
# path = "../../git/smithay"
|
2024-05-08 05:30:48 +02:00
|
|
|
default-features = false
|
|
|
|
features = [
|
|
|
|
"desktop",
|
|
|
|
"wayland_frontend",
|
|
|
|
# udev
|
|
|
|
"backend_libinput",
|
|
|
|
"backend_udev",
|
|
|
|
"backend_drm",
|
|
|
|
"backend_gbm",
|
|
|
|
"backend_egl",
|
|
|
|
"backend_session_libseat",
|
|
|
|
"renderer_gl",
|
|
|
|
"renderer_multi",
|
|
|
|
# egl
|
|
|
|
"use_system_lib",
|
|
|
|
"backend_egl",
|
|
|
|
# winit
|
|
|
|
"backend_winit",
|
|
|
|
"backend_drm",
|
|
|
|
# xwayland
|
|
|
|
"xwayland",
|
|
|
|
"x11rb_event_source",
|
|
|
|
]
|
|
|
|
|
2024-06-19 00:29:50 +02:00
|
|
|
[workspace.lints.clippy]
|
|
|
|
too_many_arguments = "allow"
|
2024-06-21 04:02:25 +02:00
|
|
|
new_without_default = "allow"
|
|
|
|
type_complexity = "allow"
|
|
|
|
let_and_return = "allow"
|
2024-08-06 01:37:05 +02:00
|
|
|
dbg_macro = "warn"
|
2024-06-19 00:29:50 +02:00
|
|
|
|
2024-03-02 08:23:31 +01:00
|
|
|
########################################################################yo😎###########
|
2024-02-18 06:50:36 +01:00
|
|
|
|
2023-06-18 01:55:04 +02:00
|
|
|
[package]
|
|
|
|
name = "pinnacle"
|
2023-07-24 04:53:49 +02:00
|
|
|
version = "0.0.1"
|
2024-02-18 06:50:36 +01:00
|
|
|
authors.workspace = true
|
|
|
|
edition.workspace = true
|
2023-08-03 03:18:08 +02:00
|
|
|
license = "GPL-3.0+"
|
2023-09-08 07:21:09 +02:00
|
|
|
description = "A WIP Smithay-based Wayland compositor, inspired by AwesomeWM"
|
|
|
|
readme = "README.md"
|
2024-02-18 06:50:36 +01:00
|
|
|
repository.workspace = true
|
2023-09-08 07:21:09 +02:00
|
|
|
keywords = ["wayland", "compositor", "smithay", "lua"]
|
2023-06-18 01:55:04 +02:00
|
|
|
|
|
|
|
[dependencies]
|
2024-03-02 08:23:31 +01:00
|
|
|
# Smithay
|
2024-04-26 21:56:12 +02:00
|
|
|
smithay = { workspace = true }
|
2024-08-06 01:37:05 +02:00
|
|
|
smithay-drm-extras = { git = "https://github.com/Smithay/smithay", rev = "e7f0857" }
|
2024-03-02 08:23:31 +01:00
|
|
|
# Tracing
|
2024-04-26 10:21:43 +02:00
|
|
|
tracing = { workspace = true }
|
|
|
|
tracing-subscriber = { workspace = true }
|
2023-12-26 04:02:50 +01:00
|
|
|
tracing-appender = "0.2.3"
|
2024-03-02 08:23:31 +01:00
|
|
|
# Errors
|
2024-12-16 06:36:30 +01:00
|
|
|
anyhow = { workspace = true }
|
2024-06-22 20:08:25 +02:00
|
|
|
thiserror = "1.0.61"
|
2024-03-02 08:23:31 +01:00
|
|
|
# xcursor stuff
|
2024-02-18 06:50:36 +01:00
|
|
|
xcursor = { version = "0.3.5" }
|
2024-03-02 08:23:31 +01:00
|
|
|
# gRPC
|
|
|
|
prost = { workspace = true }
|
|
|
|
tonic = { workspace = true }
|
|
|
|
tonic-reflection = { workspace = true }
|
|
|
|
# Tokio
|
|
|
|
tokio = { workspace = true, features = ["process", "io-util", "signal"] }
|
|
|
|
tokio-stream = { workspace = true }
|
|
|
|
# CLI
|
2024-04-21 21:25:35 +02:00
|
|
|
clap = { workspace = true }
|
2024-06-22 20:08:25 +02:00
|
|
|
cliclack = "0.3.1"
|
2024-03-02 08:23:31 +01:00
|
|
|
# Misc.
|
2024-04-16 18:10:47 +02:00
|
|
|
bitflags = { workspace = true }
|
2024-06-22 20:08:25 +02:00
|
|
|
serde = { version = "1.0.203", features = ["derive"] }
|
|
|
|
toml = "0.8.14"
|
2024-03-04 21:44:33 +01:00
|
|
|
shellexpand = { version = "3.1.0", features = ["path"] }
|
2024-05-16 20:31:21 +02:00
|
|
|
x11rb = { version = "0.13.1", default-features = false, features = ["composite"] }
|
2024-02-18 06:50:36 +01:00
|
|
|
xkbcommon = { workspace = true }
|
|
|
|
xdg = { workspace = true }
|
2024-08-06 01:37:05 +02:00
|
|
|
sysinfo = "0.31.2"
|
2024-02-18 06:50:36 +01:00
|
|
|
pinnacle-api-defs = { workspace = true }
|
2024-04-21 21:25:35 +02:00
|
|
|
dircpy = { workspace = true }
|
2024-05-16 20:31:21 +02:00
|
|
|
chrono = "0.4.38"
|
2024-06-22 20:08:25 +02:00
|
|
|
bytemuck = "1.16.1"
|
2024-06-14 00:21:32 +02:00
|
|
|
pinnacle-api = { path = "./api/rust", default-features = false }
|
2024-04-26 21:56:12 +02:00
|
|
|
gag = "1.0.0"
|
2024-06-03 04:28:44 +02:00
|
|
|
drm-sys = "0.7.0"
|
|
|
|
libdisplay-info-sys = { git = "https://github.com/Smithay/libdisplay-info-rs", rev = "a482d0d" }
|
2024-06-15 23:58:47 +02:00
|
|
|
indexmap = { workspace = true }
|
2024-06-14 21:47:05 +02:00
|
|
|
snowcap = { path = "./snowcap", optional = true }
|
|
|
|
snowcap-api = { path = "./snowcap/api/rust", optional = true }
|
2024-07-16 18:44:49 +02:00
|
|
|
assert_matches = "1.5.0"
|
2024-01-08 19:51:04 +01:00
|
|
|
|
2024-01-13 04:48:07 +01:00
|
|
|
[build-dependencies]
|
2024-08-06 01:37:05 +02:00
|
|
|
vergen-gitcl = { version = "1.0.0", features = ["rustc", "cargo", "si"] }
|
2023-09-11 10:58:43 +02:00
|
|
|
|
2024-02-17 07:00:25 +01:00
|
|
|
[dev-dependencies]
|
|
|
|
temp-env = "0.3.6"
|
2024-04-26 10:21:43 +02:00
|
|
|
tempfile = { workspace = true }
|
2024-05-16 20:31:21 +02:00
|
|
|
test-log = { version = "0.2.16", default-features = false, features = ["trace"] }
|
2024-06-14 00:21:32 +02:00
|
|
|
pinnacle = { path = ".", features = ["wlcs"], default-features = false }
|
|
|
|
pinnacle-api = { path = "./api/rust", default-features = false }
|
2024-02-17 07:00:25 +01:00
|
|
|
|
2023-06-18 01:55:04 +02:00
|
|
|
[features]
|
2024-06-14 00:21:32 +02:00
|
|
|
default = ["snowcap"]
|
|
|
|
snowcap = ["pinnacle-api/snowcap", "dep:snowcap", "dep:snowcap-api"]
|
2024-03-07 01:50:45 +01:00
|
|
|
testing = [
|
|
|
|
"smithay/renderer_test",
|
2023-06-10 03:29:17 +02:00
|
|
|
]
|
2024-06-14 00:21:32 +02:00
|
|
|
wlcs = ["testing"]
|
2024-06-19 00:29:50 +02:00
|
|
|
|
|
|
|
[lints]
|
|
|
|
workspace = true
|