72 lines
2.6 KiB
TOML
72 lines
2.6 KiB
TOML
[package]
|
|
name = "smithay"
|
|
version = "0.2.0"
|
|
authors = ["Victor Berger <victor.berger@m4x.org>", "Drakulix (Victor Brekenfeld)"]
|
|
license = "MIT"
|
|
description = "Smithay is a library for writing wayland compositors."
|
|
repository = "https://github.com/Smithay/smithay"
|
|
edition = "2018"
|
|
|
|
[workspace]
|
|
members = [ "anvil", "wlcs_anvil" ]
|
|
|
|
[dependencies]
|
|
appendlist = "1.4"
|
|
bitflags = "1"
|
|
calloop = "0.9.0"
|
|
cgmath = "0.18.0"
|
|
dbus = { version = "0.9.0", optional = true }
|
|
downcast-rs = "1.2.0"
|
|
drm-fourcc = "^2.1.1"
|
|
drm = { version = "0.5.0", optional = true }
|
|
drm-ffi = { version = "0.2.0", optional = true }
|
|
gbm = { version = "0.7.0", optional = true, default-features = false, features = ["drm-support"] }
|
|
input = { version = "0.6", default-features = false, features=["libinput_1_14"], optional = true }
|
|
lazy_static = "1"
|
|
libc = "0.2.70"
|
|
libseat= { version = "0.1.1", optional = true }
|
|
libloading = "0.7.0"
|
|
nix = "0.22"
|
|
slog = "2"
|
|
slog-stdlog = { version = "4", optional = true }
|
|
tempfile = { version = "3.0", optional = true }
|
|
thiserror = "1"
|
|
udev = { version = "0.6", optional = true }
|
|
wayland-commons = { version = "0.29.0", optional = true }
|
|
wayland-egl = { version = "0.29.0", optional = true }
|
|
wayland-protocols = { version = "0.29.0", features = ["unstable_protocols", "server"], optional = true }
|
|
wayland-server = { version = "0.29.0", optional = true }
|
|
wayland-sys = { version = "0.29.0", optional = true }
|
|
winit = { version = "0.25.0", optional = true }
|
|
xkbcommon = "0.4.0"
|
|
scan_fmt = { version = "0.2", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
slog-term = "2.3"
|
|
|
|
[build-dependencies]
|
|
gl_generator = { version = "0.14", optional = true }
|
|
pkg-config = { version = "0.3.17", optional = true }
|
|
|
|
[features]
|
|
default = ["backend_drm", "backend_gbm", "backend_libinput", "backend_udev", "backend_session_logind", "backend_winit", "renderer_gl", "xwayland", "wayland_frontend", "slog-stdlog"]
|
|
backend_winit = ["winit", "wayland-server/dlopen", "backend_egl", "wayland-egl", "renderer_gl"]
|
|
backend_drm = ["drm", "drm-ffi"]
|
|
backend_gbm = ["gbm"]
|
|
backend_egl = ["gl_generator"]
|
|
backend_libinput = ["input"]
|
|
backend_session = []
|
|
backend_udev = ["udev", "input/udev"]
|
|
backend_session_logind = ["dbus", "backend_session", "pkg-config"]
|
|
backend_session_elogind = ["backend_session_logind"]
|
|
backend_session_libseat = ["backend_session", "libseat"]
|
|
renderer_gl = ["gl_generator", "backend_egl"]
|
|
use_system_lib = ["wayland_frontend", "wayland-sys", "wayland-server/use_system_lib"]
|
|
wayland_frontend = ["wayland-server", "wayland-commons", "wayland-protocols", "tempfile"]
|
|
xwayland = ["wayland_frontend"]
|
|
test_all_features = ["default"]
|
|
|
|
[[example]]
|
|
name = "raw_drm"
|
|
required-features = ["backend_drm"]
|