| 1 | [package] |
| 2 | name = "wayland-backend" |
| 3 | version = "0.3.8" |
| 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.6" , path = "../wayland-sys" , features = [] } |
| 18 | log = { version = "0.4" , optional = true } |
| 19 | scoped-tls = { version = "1.0" , optional = true } |
| 20 | downcast-rs = "1.2" |
| 21 | raw-window-handle = { version = "0.5.0" , optional = true } |
| 22 | rwh_06 = { package = "raw-window-handle" , version = "0.6.0" , optional = true } |
| 23 | |
| 24 | [dependencies.smallvec] |
| 25 | version = "1.9" |
| 26 | # Some additional features can be enabled since wayland-rs requires at least Rust 1.65 |
| 27 | features = [ |
| 28 | "union" , # 1.49 |
| 29 | "const_generics" , # 1.51 |
| 30 | "const_new" , # 1.51 |
| 31 | ] |
| 32 | |
| 33 | [dependencies.rustix] |
| 34 | version = "0.38.42" |
| 35 | features = [ |
| 36 | "event" , |
| 37 | "fs" , |
| 38 | "net" , |
| 39 | "process" , |
| 40 | ] |
| 41 | |
| 42 | [build-dependencies] |
| 43 | cc = "1.0" |
| 44 | |
| 45 | [dev-dependencies] |
| 46 | wayland-scanner = { path = "../wayland-scanner" } |
| 47 | wayland-sys = { path = "../wayland-sys" , features = ["client" , "server" ] } |
| 48 | concat-idents = "1.1" |
| 49 | env_logger = "0.10" |
| 50 | |
| 51 | [features] |
| 52 | client_system = ["wayland-sys/client" , "dep:scoped-tls" ] |
| 53 | server_system = ["wayland-sys/server" , "dep:scoped-tls" ] |
| 54 | dlopen = ["wayland-sys/dlopen" ] |
| 55 | |
| 56 | [package.metadata.docs.rs] |
| 57 | all-features = true |
| 58 | rustdoc-args = ["--cfg" , "docsrs" ] |
| 59 | |