pinnacle/Cargo.toml

165 lines
4.4 KiB
TOML
Raw Normal View History

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-12-16 21:50:42 +01:00
tokio = { version = "1.42.0", features = ["macros", "rt-multi-thread"]}
tokio-stream = { version = "0.1.17", features = ["net"] }
2024-03-02 08:23:31 +01:00
# gRPC
2024-12-16 21:50:42 +01:00
prost = "0.13.4"
tonic = "0.12.3"
tonic-reflection = "0.12.3"
tonic-build = "0.12.3"
2024-04-26 10:21:43 +02:00
# Tracing
2024-12-16 21:50:42 +01:00
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", 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-12-16 21:50:42 +01:00
bitflags = "2.6.0"
clap = { version = "4.5.23", features = ["derive"] }
dircpy = "0.3.19"
tempfile = "3.14.0"
indexmap = "2.7.0"
anyhow = { version = "1.0.94", features = ["backtrace"] }
2024-12-16 06:36:30 +01:00
snowcap-api-defs = { path = "./snowcap/snowcap-api-defs" }
2024-12-16 21:50:42 +01:00
hyper-util = { version = "0.1.10", features = ["tokio"] }
futures = "0.3.31"
thiserror = "2.0.7"
walkdir = "2.5.0"
tower = { version = "0.5.2", features = ["util"] }
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"
rev = "0f32e8d"
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",
]
[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-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+"
description = "A WIP Smithay-based Wayland compositor"
2023-09-08 07:21:09 +02:00
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
smithay = { workspace = true }
smithay-drm-extras = { git = "https://github.com/Smithay/smithay", rev = "0f32e8d" }
2024-03-02 08:23:31 +01:00
# Tracing
2024-04-26 10:21:43 +02:00
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
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-12-16 21:50:42 +01:00
thiserror = { workspace = true }
2024-03-02 08:23:31 +01:00
# xcursor stuff
2024-12-16 21:50:42 +01:00
xcursor = { version = "0.3.8" }
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
clap = { workspace = true }
2024-12-16 21:50:42 +01:00
cliclack = "0.3.5"
2024-03-02 08:23:31 +01:00
# Misc.
bitflags = { workspace = true }
2024-12-16 21:50:42 +01:00
serde = { version = "1.0.216", features = ["derive"] }
toml = "0.8.19"
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-12-16 21:50:42 +01:00
sysinfo = "0.33.0"
2024-02-18 06:50:36 +01:00
pinnacle-api-defs = { workspace = true }
dircpy = { workspace = true }
2024-12-16 21:50:42 +01:00
chrono = "0.4.39"
bytemuck = "1.20.0"
2024-06-14 00:21:32 +02:00
pinnacle-api = { path = "./api/rust", default-features = false }
gag = "1.0.0"
drm-sys = "0.8.0" # TODO: remove and use libdisplay-info
libdisplay-info-sys = { git = "https://github.com/Smithay/libdisplay-info-rs", rev = "a482d0d" }
2024-06-15 23:58:47 +02:00
indexmap = { workspace = true }
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
[build-dependencies]
2024-12-16 21:50:42 +01:00
vergen-gitcl = { version = "1.0.2", features = ["rustc", "cargo", "si"] }
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"]
[lints]
workspace = true