smithay/Cargo.toml

65 lines
2.4 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-02-05 16:26:09 +00:00
wayland-server = { version = "0.21.6", optional = true }
wayland-commons = { version = "0.21.1", optional = true }
2018-11-28 08:29:13 +00:00
wayland-sys = { version = "0.21.6", optional = true }
2019-02-05 16:26:09 +00:00
calloop = "0.4.2"
2018-09-24 22:30:39 +00:00
nix = "0.11"
xkbcommon = "0.2.1"
tempfile = "2.1.5"
2018-09-24 22:30:39 +00:00
slog = "2.1.1"
2017-12-21 15:01:16 +00:00
slog-stdlog = "3.0.2"
2017-05-18 20:28:02 +00:00
libloading = "0.4.0"
wayland-client = { version = "0.21.1", features = ["egl"], optional = true }
winit = { version = "0.18.0", optional = true }
drm = { version = "^0.3.4", optional = true }
2018-12-05 08:31:51 +00:00
gbm = { version = "^0.5.0", optional = true, default-features = false, features = ["drm-support"] }
2017-12-21 15:01:16 +00:00
glium = { version = "0.19.0", optional = true, default-features = false }
2018-12-05 08:30:11 +00:00
input = { version = "0.4.1", optional = true }
udev = { version = "0.2.0", optional = true }
2018-01-23 23:10:00 +00:00
dbus = { version = "0.6.1", optional = true }
2018-02-01 13:57:04 +00:00
systemd = { version = "^0.2.0", optional = true }
2019-02-05 16:26:09 +00:00
wayland-protocols = { version = "0.21.3", features = ["unstable_protocols", "server"], optional = true }
image = { version = "0.17.0", optional = true }
2017-09-18 14:58:20 +00:00
error-chain = "0.11.0"
2017-12-09 16:32:22 +00:00
lazy_static = "1.0.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]
gl_generator = { version = "0.9", optional = true }
2017-05-18 20:28:02 +00:00
2017-03-07 10:53:57 +00:00
[features]
2019-02-05 16:26:09 +00:00
default = ["backend_winit", "backend_drm_legacy", "backend_drm_gbm", "backend_drm_egl", "backend_libinput", "backend_udev", "backend_session", "renderer_glium", "xwayland", "wayland_frontend"]
2018-11-28 08:29:13 +00:00
backend_winit = ["winit", "wayland-server/dlopen", "wayland-client/dlopen", "backend_egl", "renderer_gl", "native_lib"]
backend_drm = ["drm"]
backend_drm_legacy = ["backend_drm"]
2019-02-05 16:26:09 +00:00
backend_drm_gbm = ["backend_drm", "gbm", "image"]
backend_drm_egl = ["backend_drm", "backend_egl"]
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"]
2018-01-23 23:10:00 +00:00
backend_session_logind = ["dbus", "systemd", "backend_session"]
renderer_gl = ["gl_generator"]
renderer_glium = ["renderer_gl", "glium"]
2019-02-05 16:26:09 +00:00
native_lib = ["wayland_frontend", "wayland-sys", "wayland-server/native_lib", "wayland-protocols/native_server"]
wayland_frontend = ["wayland-server", "wayland-commons", "wayland-protocols"]
xwayland = ["wayland_frontend"]
2018-12-15 20:18:54 +00:00
[[example]]
name = "raw_drm"
2019-01-03 09:52:15 +00:00
required-features = ["backend_drm_legacy"]