1 | [package] |
2 | name = "wayland-backend" |
3 | version = "0.3.3" |
4 | authors = ["Elinor Berger <elinor@safaradeg.net>" ] |
5 | edition = "2021" |
6 | rust-version = "1.65" |
7 | repository = "https://github.com/smithay/wayland-rs" |
8 | documentation = "https://docs.rs/wayland-backend/" |
9 | license = "MIT" |
10 | categories = ["gui" , "api-bindings" ] |
11 | keywords = ["wayland" ] |
12 | description = "Low-level bindings to the Wayland protocol" |
13 | readme = "README.md" |
14 | build = "build.rs" |
15 | |
16 | [dependencies] |
17 | wayland-sys = { version = "0.31.0" , path = "../wayland-sys" , features = [] } |
18 | log = { version = "0.4" , optional = true } |
19 | scoped-tls = "1.0" |
20 | downcast-rs = "1.2" |
21 | raw-window-handle = { version = "0.5.0" , optional = true } |
22 | |
23 | [dependencies.smallvec] |
24 | version = "1.9" |
25 | # Some additional features can be enabled since wayland-rs requires at least Rust 1.65 |
26 | features = [ |
27 | "union" , # 1.49 |
28 | "const_generics" , # 1.51 |
29 | "const_new" , # 1.51 |
30 | ] |
31 | |
32 | [dependencies.rustix] |
33 | version = "0.38.17" |
34 | features = [ |
35 | "event" , |
36 | "fs" , |
37 | "net" , |
38 | "process" , |
39 | ] |
40 | |
41 | [build-dependencies] |
42 | cc = "1.0" |
43 | |
44 | [dev-dependencies] |
45 | wayland-scanner = { path = "../wayland-scanner" } |
46 | wayland-sys = { path = "../wayland-sys" , features = ["client" , "server" ] } |
47 | concat-idents = "1.1" |
48 | env_logger = "0.10" |
49 | |
50 | [features] |
51 | client_system = ["wayland-sys/client" ] |
52 | server_system = ["wayland-sys/server" ] |
53 | dlopen = ["wayland-sys/dlopen" ] |
54 | |
55 | [package.metadata.docs.rs] |
56 | all-features = true |
57 | rustdoc-args = ["--cfg" , "docsrs" ] |
58 | |