pinnacle/Cargo.toml
Ottatop 43809d4210 Remove statics from Rust API
And a bunch of other things, this commit doesn't build
2024-04-16 11:10:47 -05:00

118 lines
3.1 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.37.0", features = ["macros", "rt-multi-thread"]}
tokio-stream = { version = "0.1.15", features = ["net"] }
# gRPC
prost = "0.12.4"
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"
bitflags = "2.5.0"
########################################################################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 is down there somewhere
smithay-drm-extras = { git = "https://github.com/Smithay/smithay", rev = "e237b07" }
# 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.81", features = ["backtrace"] }
thiserror = "1.0.58"
# xcursor stuff
xcursor = { version = "0.3.5" }
image = { version = "0.25.1", 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.4", features = ["derive"] }
cliclack = "0.2.5"
# Misc.
bitflags = { workspace = true }
serde = { version = "1.0.197", features = ["derive"] }
toml = "0.8.12"
shellexpand = { version = "3.1.0", features = ["path"] }
x11rb = { version = "0.13.0", default-features = false, features = ["composite"] }
xkbcommon = { workspace = true }
xdg = { workspace = true }
sysinfo = "0.30.10"
nix = { version = "0.28.0", features = ["user", "resource"] }
pinnacle-api-defs = { workspace = true }
dircpy = "0.3.16"
chrono = "0.4.37"
bytemuck = "1.15.0"
[dependencies.smithay]
git = "https://github.com/Smithay/smithay"
rev = "e237b07"
default-features = false
features = [
"desktop",
"wayland_frontend",
# udev
"backend_libinput",
"backend_udev",
"backend_drm",
"backend_gbm",
"backend_vulkan",
"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",
]
[build-dependencies]
xdg = { workspace = true }
[dev-dependencies]
temp-env = "0.3.6"
tempfile = "3.10.1"
test-log = { version = "0.2.15", default-features = false, features = ["trace"] }
pinnacle = { path = ".", features = ["testing"] }
pinnacle-api = { path = "./api/rust" }
[features]
testing = [
"smithay/renderer_test",
]