smithay/Cargo.toml

71 lines
2.7 KiB
TOML
Raw Normal View History

2017-01-20 08:54:05 +00:00
[package]
name = "smithay"
2019-01-03 09:52:15 +00:00
version = "0.2.0"
2017-10-01 20:57:02 +00:00
authors = ["Victor Berger <victor.berger@m4x.org>", "Drakulix (Victor Brekenfeld)"]
2017-03-24 09:24:07 +00:00
license = "MIT"
2017-10-01 20:57:02 +00:00
description = "Smithay is a library for writing wayland compositors."
repository = "https://github.com/Smithay/smithay"
2018-12-15 20:32:28 +00:00
edition = "2018"
2017-01-20 08:54:05 +00:00
[workspace]
members = [ "anvil" ]
2017-01-20 08:54:05 +00:00
[dependencies]
2019-05-19 17:32:08 +00:00
bitflags = "1"
2020-04-25 17:10:02 +00:00
calloop = "0.6.2"
cgmath = "0.18.0"
2020-11-02 08:24:57 +00:00
dbus = { version = "0.9.0", optional = true }
drm-fourcc = "^2.1.0"
drm = { version = "^0.4.0-alpha1", git = "https://github.com/drakulix/drm-rs", branch = "next", optional = true }
2021-04-09 13:17:10 +00:00
drm-ffi = { version = "^0.4.0-alpha1", git = "https://github.com/drakulix/drm-rs", branch = "next", optional = true }
gbm = { version = "^0.6.0", git = "https://github.com/drakulix/gbm.rs", branch = "develop", optional = true, default-features = false, features = ["drm-support"] }
2020-04-11 17:45:45 +00:00
input = { version = "0.5", default-features = false, optional = true }
2020-04-25 07:51:35 +00:00
lazy_static = "1"
libc = "0.2.70"
2021-02-22 19:27:46 +00:00
libloading = "0.7.0"
nix = "0.20"
2020-04-25 07:51:35 +00:00
slog = "2"
slog-stdlog = { version = "4", optional = true }
tempfile = { version = "3.0", optional = true }
thiserror = "1"
2021-02-22 19:27:46 +00:00
udev = { version = "0.6", optional = true }
2020-09-14 22:28:43 +00:00
wayland-commons = { version = "0.28", optional = true }
wayland-egl = { version = "0.28", optional = true }
wayland-protocols = { version = "0.28", features = ["unstable_protocols", "server"], optional = true }
wayland-server = { version = "0.28.3", optional = true }
2020-09-14 22:28:43 +00:00
wayland-sys = { version = "0.28", optional = true }
2021-02-22 19:27:46 +00:00
winit = { version = "0.24.0", optional = true }
2020-04-25 07:51:35 +00:00
xkbcommon = "0.4.0"
2017-02-22 10:00:03 +00:00
2018-12-05 21:44:30 +00:00
[dev-dependencies]
slog-term = "2.3"
2017-05-18 20:28:02 +00:00
[build-dependencies]
2020-04-15 08:25:31 +00:00
gl_generator = { version = "0.14", optional = true }
pkg-config = { version = "0.3.17", optional = true }
2017-05-18 20:28:02 +00:00
2017-03-07 10:53:57 +00:00
[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", "use_system_lib"]
2021-04-09 13:17:10 +00:00
backend_drm = ["drm", "drm-ffi"]
backend_gbm = ["gbm"]
backend_egl = ["gl_generator"]
2017-04-14 22:23:03 +00:00
backend_libinput = ["input"]
2017-10-01 17:21:12 +00:00
backend_session = []
backend_udev = ["udev"]
backend_session_logind = ["dbus", "backend_session", "pkg-config"]
backend_session_elogind = ["backend_session_logind"]
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"]
2019-02-05 16:26:09 +00:00
xwayland = ["wayland_frontend"]
test_all_features = ["default"]
2018-12-15 20:18:54 +00:00
[[example]]
name = "raw_legacy_drm"
required-features = ["backend_drm"]
[[example]]
name = "raw_atomic_drm"
required-features = ["backend_drm"]