pinnacle/Cargo.toml
2024-03-02 01:23:31 -06:00

103 lines
2.8 KiB
TOML

[workspace]
members = ["pinnacle-api-defs", "api/rust", "api/rust/pinnacle-api-macros"]
[workspace.package]
authors = ["Ottatop <ottatop1227@gmail.com>"]
edition = "2021"
repository = "https://github.com/pinnacle-comp/pinnacle/"
[workspace.dependencies]
# Tokio
tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread"]}
tokio-stream = { version = "0.1.14", features = ["net"] }
# gRPC
prost = "0.12.3"
tonic = "0.11.0"
tonic-reflection = "0.11.0"
tonic-build = "0.11.0"
# API definitions
pinnacle-api-defs = { path = "./pinnacle-api-defs" }
# Misc.
xkbcommon = "0.7.0"
xdg = "2.5.2"
########################################################################yo😎###########
[package]
name = "pinnacle"
version = "0.0.1"
authors.workspace = true
edition.workspace = true
license = "GPL-3.0+"
description = "A WIP Smithay-based Wayland compositor, inspired by AwesomeWM"
readme = "README.md"
repository.workspace = true
keywords = ["wayland", "compositor", "smithay", "lua"]
[dependencies]
# Smithay
smithay = { git = "https://github.com/Smithay/smithay", rev = "418190e", default-features = false, features = ["desktop", "wayland_frontend"] }
smithay-drm-extras = { git = "https://github.com/Smithay/smithay", rev = "418190e" }
# Tracing
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "registry"] }
tracing-appender = "0.2.3"
# Errors
anyhow = { version = "1.0.79", features = ["backtrace"] }
thiserror = "1.0.57"
# xcursor stuff
xcursor = { version = "0.3.5" }
image = { version = "0.24.8", default-features = false }
# 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 = { version = "4.5.1", features = ["derive"] }
cliclack = "0.1.13"
# Misc.
bitflags = "2.4.2"
serde = { version = "1.0.196", features = ["derive"] }
toml = "0.8.10"
shellexpand = "3.1.0"
x11rb = { version = "0.13.0", default-features = false, features = ["composite"] }
xkbcommon = { workspace = true }
xdg = { workspace = true }
sysinfo = "0.30.5"
nix = { version = "0.27.1", features = ["user", "resource"] }
pinnacle-api-defs = { workspace = true }
dircpy = "0.3.16"
chrono = "0.4.34"
[build-dependencies]
xdg = { workspace = true }
[dev-dependencies]
temp-env = "0.3.6"
tempfile = "3.10.0"
[features]
default = [
# udev
"smithay/backend_libinput",
"smithay/backend_udev",
"smithay/backend_drm",
"smithay/backend_gbm",
"smithay/backend_vulkan",
"smithay/backend_egl",
"smithay/backend_session_libseat",
"smithay/renderer_gl",
"smithay/renderer_multi",
# egl
"smithay/use_system_lib",
"smithay/backend_egl",
# winit
"smithay/backend_winit",
"smithay/backend_drm",
# xwayland
"smithay/xwayland",
"smithay/x11rb_event_source"
]