smithay/Cargo.toml

105 lines
3.7 KiB
TOML
Raw Normal View History

2017-01-20 09:54:05 +01:00
[package]
name = "smithay"
2021-07-25 11:46:06 +02:00
version = "0.3.0"
2017-10-01 22:57:02 +02:00
authors = ["Victor Berger <victor.berger@m4x.org>", "Drakulix (Victor Brekenfeld)"]
2017-03-24 10:24:07 +01:00
license = "MIT"
2017-10-01 22:57:02 +02:00
description = "Smithay is a library for writing wayland compositors."
repository = "https://github.com/Smithay/smithay"
edition = "2021"
readme = "README.md"
homepage = "https://smithay.github.io/"
keywords = ["wayland", "compositor", "graphics", "server"]
categories = ["gui"]
[package.metadata.docs.rs]
features = ["test_all_features"]
2022-02-18 18:32:29 +01:00
rustdoc-args = ["--cfg", "docsrs"]
2017-01-20 09:54:05 +01:00
[workspace]
2022-05-26 00:52:13 +02:00
members = [
"smallvil",
"anvil",
"wlcs_anvil"
]
2017-01-20 09:54:05 +01:00
[dependencies]
appendlist = "1.4"
2019-05-19 19:32:08 +02:00
bitflags = "1"
2022-05-08 02:03:53 +02:00
calloop = "0.10.0"
cgmath = "0.18.0"
dbus = { version = "0.9.4", optional = true }
downcast-rs = "1.2.0"
2021-05-10 19:02:15 +02:00
drm-fourcc = "^2.1.1"
2022-01-26 20:29:34 +01:00
drm = { version = "0.6.1", optional = true }
drm-ffi = { version = "0.2.1", optional = true }
gbm = { version = "0.8.0", optional = true, default-features = false, features = ["drm-support"] }
2021-10-13 11:28:58 +02:00
input = { version = "0.7", default-features = false, features=["libinput_1_14"], optional = true }
indexmap = { version = "1.7", optional = true }
2020-04-25 09:51:35 +02:00
lazy_static = "1"
2021-10-17 20:41:54 +02:00
libc = "0.2.103"
libseat= { version = "0.1.1", optional = true }
2021-08-31 02:08:17 +02:00
libloading = { version="0.7.0", optional = true }
2021-07-24 20:30:00 +02:00
nix = "0.22"
once_cell = "1.8.0"
rand = "0.8.4"
2020-04-25 09:51:35 +02:00
slog = "2"
slog-stdlog = { version = "4", optional = true }
tempfile = { version = "3.0", optional = true }
2022-01-05 21:59:14 +01:00
thiserror = "1.0.25"
2021-02-22 20:27:46 +01:00
udev = { version = "0.6", optional = true }
2022-06-08 17:54:03 +02:00
wayland-egl = { version = "=0.30.0-beta.3", optional = true }
wayland-protocols = { version = "=0.30.0-beta.3", features = ["unstable", "staging", "server"], optional = true }
wayland-protocols-wlr = { version = "=0.1.0-beta.3", features = ["server"]}
wayland-server = { version = "=0.30.0-beta.3", optional = true }
wayland-sys = { version = "=0.30.0-beta.3", optional = true }
wayland-backend = { version = "=0.1.0-beta.3", optional = true }
2022-01-07 20:24:37 +01:00
winit = { version = "0.26", optional = true }
x11rb = { version = "0.9.0", optional = true }
2020-04-25 09:51:35 +02:00
xkbcommon = "0.4.0"
2021-07-30 18:08:42 +02:00
scan_fmt = { version = "0.2.3", default-features = false }
2017-02-22 11:00:03 +01:00
2018-12-05 22:44:30 +01:00
[dev-dependencies]
slog-term = "2.3"
2017-05-18 22:28:02 +02:00
[build-dependencies]
2020-04-15 10:25:31 +02:00
gl_generator = { version = "0.14", optional = true }
pkg-config = { version = "0.3.17", optional = true }
2017-05-18 22:28:02 +02:00
2017-03-07 11:53:57 +01:00
[features]
2022-03-03 19:40:13 +01:00
default = ["backend_drm", "backend_gbm", "backend_libinput", "backend_udev", "backend_session_logind", "backend_x11", "backend_winit", "desktop", "renderer_gl", "renderer_multi", "xwayland", "wayland_frontend", "slog-stdlog"]
backend_winit = ["winit", "backend_egl", "wayland-egl", "renderer_gl"]
backend_x11 = ["x11rb", "x11rb/dri3", "x11rb/xfixes", "x11rb/present", "x11rb_event_source", "backend_gbm", "backend_drm", "backend_egl"]
2021-04-09 15:17:10 +02:00
backend_drm = ["drm", "drm-ffi"]
backend_gbm = ["gbm"]
2021-08-31 02:08:17 +02:00
backend_egl = ["gl_generator", "libloading"]
2017-04-15 00:23:03 +02:00
backend_libinput = ["input"]
2017-10-01 19:21:12 +02:00
backend_session = []
2021-06-30 16:58:23 +02:00
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"]
desktop = ["indexmap", "wayland_frontend"]
renderer_gl = ["gl_generator", "backend_egl"]
2022-03-03 19:40:13 +01:00
renderer_multi = ["backend_drm"]
2022-02-04 23:25:27 +01:00
use_system_lib = ["wayland_frontend", "wayland-backend/server_system", "wayland-sys"]
wayland_frontend = ["wayland-server", "wayland-protocols", "tempfile"]
x11rb_event_source = ["x11rb"]
2019-02-05 17:26:09 +01:00
xwayland = ["wayland_frontend"]
test_all_features = ["default"]
2018-12-15 21:18:54 +01:00
[[example]]
2021-04-28 22:09:21 +02:00
name = "raw_drm"
2022-03-09 21:47:44 +01:00
required-features = ["backend_drm"]
[[example]]
name = "minimal"
required-features = ["backend_winit", "renderer_gl", "wayland_frontend"]
[[example]]
name = "seat"
required-features = ["wayland_frontend"]
[[example]]
name = "compositor"
required-features = ["wayland_frontend"]