2017-01-20 08:54:05 +00:00
|
|
|
[package]
|
|
|
|
name = "smithay"
|
2021-07-25 09:46:06 +00:00
|
|
|
version = "0.3.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"
|
2021-07-25 08:47:30 +00:00
|
|
|
readme = "README.md"
|
|
|
|
homepage = "https://smithay.github.io/"
|
|
|
|
keywords = ["wayland", "compositor", "graphics", "server"]
|
|
|
|
categories = ["gui"]
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["test_all_features"]
|
2017-01-20 08:54:05 +00:00
|
|
|
|
2018-05-07 17:56:38 +00:00
|
|
|
[workspace]
|
2021-07-08 15:15:54 +00:00
|
|
|
members = [ "anvil", "wlcs_anvil" ]
|
2018-05-07 17:56:38 +00:00
|
|
|
|
2017-01-20 08:54:05 +00:00
|
|
|
[dependencies]
|
2021-06-23 07:43:53 +00:00
|
|
|
appendlist = "1.4"
|
2019-05-19 17:32:08 +00:00
|
|
|
bitflags = "1"
|
2021-06-29 22:34:47 +00:00
|
|
|
calloop = "0.9.0"
|
2021-04-06 22:54:29 +00:00
|
|
|
cgmath = "0.18.0"
|
2020-11-02 08:24:57 +00:00
|
|
|
dbus = { version = "0.9.0", optional = true }
|
2021-06-23 07:43:53 +00:00
|
|
|
downcast-rs = "1.2.0"
|
2021-05-10 17:02:15 +00:00
|
|
|
drm-fourcc = "^2.1.1"
|
2021-07-24 18:30:00 +00:00
|
|
|
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"] }
|
2021-07-08 11:26:13 +00:00
|
|
|
input = { version = "0.6", default-features = false, features=["libinput_1_14"], optional = true }
|
2020-04-25 07:51:35 +00:00
|
|
|
lazy_static = "1"
|
2021-10-17 18:41:54 +00:00
|
|
|
libc = "0.2.103"
|
2021-06-23 07:43:53 +00:00
|
|
|
libseat= { version = "0.1.1", optional = true }
|
2021-08-31 00:08:17 +00:00
|
|
|
libloading = { version="0.7.0", optional = true }
|
2021-07-24 18:30:00 +00:00
|
|
|
nix = "0.22"
|
2021-07-31 03:43:59 +00:00
|
|
|
rand = "0.8.4"
|
2020-04-25 07:51:35 +00:00
|
|
|
slog = "2"
|
2020-07-10 10:50:58 +00:00
|
|
|
slog-stdlog = { version = "4", optional = true }
|
2020-07-10 11:00:23 +00:00
|
|
|
tempfile = { version = "3.0", optional = true }
|
2021-07-30 16:08:42 +00:00
|
|
|
thiserror = "1.0.2"
|
2021-02-22 19:27:46 +00:00
|
|
|
udev = { version = "0.6", optional = true }
|
2021-07-24 18:30:00 +00:00
|
|
|
wayland-commons = { version = "0.29.0", optional = true }
|
|
|
|
wayland-egl = { version = "0.29.0", optional = true }
|
2021-07-31 19:13:57 +00:00
|
|
|
wayland-protocols = { version = "0.29.0", features = ["unstable_protocols", "staging_protocols", "server"], optional = true }
|
2021-07-24 18:30:00 +00:00
|
|
|
wayland-server = { version = "0.29.0", optional = true }
|
|
|
|
wayland-sys = { version = "0.29.0", optional = true }
|
2021-05-30 20:01:36 +00:00
|
|
|
winit = { version = "0.25.0", optional = true }
|
2021-10-17 07:23:45 +00:00
|
|
|
x11rb = { version = "0.9.0", optional = true }
|
2020-04-25 07:51:35 +00:00
|
|
|
xkbcommon = "0.4.0"
|
2021-07-30 16:08:42 +00:00
|
|
|
scan_fmt = { version = "0.2.3", default-features = false }
|
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 }
|
2020-05-19 22:13:06 +00:00
|
|
|
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]
|
2021-07-07 18:49:17 +00:00
|
|
|
default = ["backend_drm", "backend_gbm", "backend_libinput", "backend_udev", "backend_session_logind", "backend_winit", "renderer_gl", "xwayland", "wayland_frontend", "slog-stdlog"]
|
2021-06-05 17:58:51 +00:00
|
|
|
backend_winit = ["winit", "wayland-server/dlopen", "backend_egl", "wayland-egl", "renderer_gl"]
|
2021-04-09 13:17:10 +00:00
|
|
|
backend_drm = ["drm", "drm-ffi"]
|
2021-04-06 22:54:29 +00:00
|
|
|
backend_gbm = ["gbm"]
|
2021-08-31 00:08:17 +00:00
|
|
|
backend_egl = ["gl_generator", "libloading"]
|
2017-04-14 22:23:03 +00:00
|
|
|
backend_libinput = ["input"]
|
2017-10-01 17:21:12 +00:00
|
|
|
backend_session = []
|
2021-06-30 14:58:23 +00:00
|
|
|
backend_udev = ["udev", "input/udev"]
|
2020-05-19 22:13:06 +00:00
|
|
|
backend_session_logind = ["dbus", "backend_session", "pkg-config"]
|
|
|
|
backend_session_elogind = ["backend_session_logind"]
|
2021-07-01 21:21:30 +00:00
|
|
|
backend_session_libseat = ["backend_session", "libseat"]
|
2021-04-06 22:54:29 +00:00
|
|
|
renderer_gl = ["gl_generator", "backend_egl"]
|
2020-04-05 17:01:08 +00:00
|
|
|
use_system_lib = ["wayland_frontend", "wayland-sys", "wayland-server/use_system_lib"]
|
2020-07-10 11:00:23 +00:00
|
|
|
wayland_frontend = ["wayland-server", "wayland-commons", "wayland-protocols", "tempfile"]
|
2021-10-17 07:23:45 +00:00
|
|
|
x11rb_event_source = ["x11rb"]
|
2019-02-05 16:26:09 +00:00
|
|
|
xwayland = ["wayland_frontend"]
|
2021-07-25 08:47:30 +00:00
|
|
|
test_all_features = ["default", "use_system_lib", "wayland-server/dlopen"]
|
2018-12-15 20:18:54 +00:00
|
|
|
|
|
|
|
[[example]]
|
2021-04-28 20:09:21 +00:00
|
|
|
name = "raw_drm"
|
2021-04-06 22:54:29 +00:00
|
|
|
required-features = ["backend_drm"]
|