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."
|
2017-10-08 14:18:56 +00:00
|
|
|
repository = "https://github.com/Smithay/smithay"
|
2018-12-15 20:32:28 +00:00
|
|
|
edition = "2018"
|
2017-01-20 08:54:05 +00:00
|
|
|
|
2018-05-07 17:56:38 +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"
|
2020-04-25 07:51:35 +00:00
|
|
|
dbus = { version = "0.8", optional = true }
|
2019-08-23 11:58:02 +00:00
|
|
|
drm = { version = "^0.4.0", git = "https://github.com/drakulix/drm-rs", branch = "develop", 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-15 08:25:31 +00:00
|
|
|
glium = { version = "0.27.0", optional = true, default-features = false }
|
2020-04-25 07:51:35 +00:00
|
|
|
image = { version = "0.23.0", optional = true }
|
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"
|
|
|
|
libloading = "0.6.0"
|
|
|
|
nix = "0.17"
|
|
|
|
slog = "2"
|
|
|
|
slog-stdlog = "4"
|
2019-02-24 07:50:21 +00:00
|
|
|
systemd = { version = "0.4.0", optional = true }
|
2020-04-25 07:51:35 +00:00
|
|
|
tempfile = "3.0"
|
2020-04-12 20:35:24 +00:00
|
|
|
thiserror = "1"
|
2020-04-25 07:51:35 +00:00
|
|
|
udev = { version = "0.4", optional = true }
|
2020-04-25 07:56:05 +00:00
|
|
|
wayland-commons = { version = "0.26", optional = true }
|
|
|
|
wayland-egl = { version = "0.26", optional = true }
|
|
|
|
wayland-protocols = { version = "0.26", features = ["unstable_protocols", "server"], optional = true }
|
|
|
|
wayland-server = { version = "0.26", optional = true }
|
|
|
|
wayland-sys = { version = "0.26", optional = true }
|
2020-04-25 07:51:35 +00:00
|
|
|
winit = { version = "0.22.0", optional = true }
|
|
|
|
xkbcommon = "0.4.0"
|
2020-04-12 20:35:24 +00:00
|
|
|
# TODO: remove as soon as drm-rs provides an error implementing Error
|
2020-04-11 17:45:45 +00:00
|
|
|
failure = { version = "0.1", optional = true }
|
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 }
|
2017-05-18 20:28:02 +00:00
|
|
|
|
2017-03-07 10:53:57 +00:00
|
|
|
[features]
|
2019-05-31 10:50:10 +00:00
|
|
|
default = ["backend_winit", "backend_drm_legacy", "backend_drm_atomic", "backend_drm_gbm", "backend_drm_eglstream", "backend_drm_egl", "backend_libinput", "backend_udev", "backend_session_logind", "renderer_glium", "xwayland", "wayland_frontend"]
|
2020-04-14 16:53:26 +00:00
|
|
|
backend_winit = ["winit", "wayland-server/dlopen", "backend_egl", "wayland-egl", "renderer_gl", "use_system_lib"]
|
2020-04-11 17:45:45 +00:00
|
|
|
backend_drm = ["drm", "failure"]
|
2020-04-18 23:39:42 +00:00
|
|
|
backend_drm_atomic = ["backend_drm"]
|
2018-11-21 08:44:48 +00:00
|
|
|
backend_drm_legacy = ["backend_drm"]
|
2019-02-05 16:26:09 +00:00
|
|
|
backend_drm_gbm = ["backend_drm", "gbm", "image"]
|
2019-05-31 10:50:10 +00:00
|
|
|
backend_drm_eglstream = ["backend_drm", "backend_egl"]
|
2018-11-21 08:44:48 +00:00
|
|
|
backend_drm_egl = ["backend_drm", "backend_egl"]
|
2018-11-21 08:28:15 +00:00
|
|
|
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 = []
|
2018-11-21 08:39:09 +00:00
|
|
|
backend_udev = ["udev"]
|
2018-01-23 23:10:00 +00:00
|
|
|
backend_session_logind = ["dbus", "systemd", "backend_session"]
|
2018-11-21 08:28:15 +00:00
|
|
|
renderer_gl = ["gl_generator"]
|
|
|
|
renderer_glium = ["renderer_gl", "glium"]
|
2020-04-05 17:01:08 +00:00
|
|
|
use_system_lib = ["wayland_frontend", "wayland-sys", "wayland-server/use_system_lib"]
|
2019-02-05 16:26:09 +00:00
|
|
|
wayland_frontend = ["wayland-server", "wayland-commons", "wayland-protocols"]
|
|
|
|
xwayland = ["wayland_frontend"]
|
2018-12-15 20:18:54 +00:00
|
|
|
|
|
|
|
[[example]]
|
2020-04-15 21:26:38 +00:00
|
|
|
name = "raw_legacy_drm"
|
2019-01-03 09:52:15 +00:00
|
|
|
required-features = ["backend_drm_legacy"]
|