|
| 1 | +# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 | +# |
| 3 | +# When uploading crates to the registry Cargo will automatically |
| 4 | +# "normalize" Cargo.toml files for maximal compatibility |
| 5 | +# with all versions of Cargo and also rewrite `path` dependencies |
| 6 | +# to registry (e.g., crates.io) dependencies. |
| 7 | +# |
| 8 | +# If you are reading this file be aware that the original Cargo.toml |
| 9 | +# will likely look very different (and much more reasonable). |
| 10 | +# See Cargo.toml.orig for the original contents. |
| 11 | + |
| 12 | +[package] |
| 13 | +edition = "2024" |
| 14 | +name = "gpui-pre-linux" |
| 15 | +version = "0.3.10" |
| 16 | +build = false |
| 17 | +publish = true |
| 18 | +autolib = false |
| 19 | +autobins = false |
| 20 | +autoexamples = false |
| 21 | +autotests = false |
| 22 | +autobenches = false |
| 23 | +description = "Zed's `gpui_linux` crate (gpui-pre snapshot of zed@08cbb88)" |
| 24 | +readme = false |
| 25 | +license = "Apache-2.0" |
| 26 | +repository = "https://github.com/zed-industries/zed" |
| 27 | +resolver = "2" |
| 28 | + |
| 29 | +[package.metadata.cargo-shear] |
| 30 | +ignored = ["scap"] |
| 31 | + |
| 32 | +[package.metadata.gpui-pre] |
| 33 | +zed-crate = "gpui_linux" |
| 34 | +zed-version = "0.1.0" |
| 35 | +zed-rev = "08cbb88a152c3751a43e853425a70e9f631a5918" |
| 36 | + |
| 37 | +[features] |
| 38 | +default = [ |
| 39 | + "wayland", |
| 40 | + "x11", |
| 41 | +] |
| 42 | +screen-capture = [ |
| 43 | + "gpui/screen-capture", |
| 44 | + "scap", |
| 45 | +] |
| 46 | +test-support = ["gpui/test-support"] |
| 47 | +wayland = [ |
| 48 | + "dep:accesskit_unix", |
| 49 | + "gpui_wgpu", |
| 50 | + "ashpd/wayland", |
| 51 | + "calloop-wayland-source", |
| 52 | + "wayland-backend", |
| 53 | + "wayland-client", |
| 54 | + "wayland-cursor", |
| 55 | + "wayland-protocols", |
| 56 | + "wayland-protocols-plasma", |
| 57 | + "wayland-protocols-wlr", |
| 58 | + "filedescriptor", |
| 59 | + "xkbcommon/wayland", |
| 60 | + "open", |
| 61 | + "gpui/wayland", |
| 62 | + "uuid/v5", |
| 63 | +] |
| 64 | +x11 = [ |
| 65 | + "dep:accesskit_unix", |
| 66 | + "gpui_wgpu", |
| 67 | + "ashpd", |
| 68 | + "as-raw-xcb-connection", |
| 69 | + "x11rb", |
| 70 | + "xkbcommon/x11", |
| 71 | + "xim", |
| 72 | + "filedescriptor", |
| 73 | + "open", |
| 74 | + "scap?/x11", |
| 75 | +] |
| 76 | + |
| 77 | +[lib] |
| 78 | +name = "gpui_linux" |
| 79 | +path = "src/gpui_linux.rs" |
| 80 | +doctest = false |
| 81 | + |
| 82 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.accesskit] |
| 83 | +version = "0.24.0" |
| 84 | +features = ["enumn"] |
| 85 | + |
| 86 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.accesskit_unix] |
| 87 | +version = "0.22" |
| 88 | +optional = true |
| 89 | + |
| 90 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.anyhow] |
| 91 | +version = "1.0.86" |
| 92 | + |
| 93 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.as-raw-xcb-connection] |
| 94 | +version = "1" |
| 95 | +optional = true |
| 96 | + |
| 97 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.ashpd] |
| 98 | +version = "0.13" |
| 99 | +features = [ |
| 100 | + "async-io", |
| 101 | + "inhibit", |
| 102 | + "open_uri", |
| 103 | + "file_chooser", |
| 104 | + "settings", |
| 105 | +] |
| 106 | +optional = true |
| 107 | +default-features = false |
| 108 | + |
| 109 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.bytemuck] |
| 110 | +version = "1" |
| 111 | + |
| 112 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.calloop] |
| 113 | +version = "0.14.3" |
| 114 | + |
| 115 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.calloop-wayland-source] |
| 116 | +version = "0.4.1" |
| 117 | +optional = true |
| 118 | + |
| 119 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.collections] |
| 120 | +version = "=0.3.10" |
| 121 | +package = "gpui-pre-collections" |
| 122 | + |
| 123 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.filedescriptor] |
| 124 | +version = "0.8.2" |
| 125 | +optional = true |
| 126 | + |
| 127 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.futures] |
| 128 | +version = "0.3.34" |
| 129 | + |
| 130 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.gpui] |
| 131 | +version = "=0.3.10" |
| 132 | +default-features = false |
| 133 | +package = "gpui-pre" |
| 134 | + |
| 135 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.gpui_util] |
| 136 | +version = "=0.3.10" |
| 137 | +package = "gpui-pre-util" |
| 138 | + |
| 139 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.gpui_wgpu] |
| 140 | +version = "=0.3.10" |
| 141 | +features = ["font-kit"] |
| 142 | +optional = true |
| 143 | +package = "gpui-pre-wgpu" |
| 144 | + |
| 145 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.http_client] |
| 146 | +version = "=0.3.10" |
| 147 | +package = "gpui-pre-http-client" |
| 148 | + |
| 149 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.libc] |
| 150 | +version = "0.2" |
| 151 | + |
| 152 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.log] |
| 153 | +version = "0.4" |
| 154 | +features = ["std"] |
| 155 | +default-features = false |
| 156 | + |
| 157 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.notify-rust] |
| 158 | +version = "4" |
| 159 | + |
| 160 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.oo7] |
| 161 | +version = "0.6" |
| 162 | +features = [ |
| 163 | + "async-std", |
| 164 | + "native_crypto", |
| 165 | +] |
| 166 | +default-features = false |
| 167 | + |
| 168 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.open] |
| 169 | +version = "5.2.0" |
| 170 | +optional = true |
| 171 | + |
| 172 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.parking_lot] |
| 173 | +version = "0.12.1" |
| 174 | + |
| 175 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.raw-window-handle] |
| 176 | +version = "0.6" |
| 177 | + |
| 178 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.scap] |
| 179 | +version = "0.0.8-zed" |
| 180 | +optional = true |
| 181 | +default-features = false |
| 182 | +package = "zed-scap" |
| 183 | + |
| 184 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.smallvec] |
| 185 | +version = "1.6" |
| 186 | +features = [ |
| 187 | + "union", |
| 188 | + "const_new", |
| 189 | +] |
| 190 | + |
| 191 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.smol] |
| 192 | +version = "2.0" |
| 193 | + |
| 194 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.strum] |
| 195 | +version = "0.28" |
| 196 | +features = ["derive"] |
| 197 | + |
| 198 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.url] |
| 199 | +version = "2.2" |
| 200 | + |
| 201 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.uuid] |
| 202 | +version = "1.1" |
| 203 | +features = ["serde"] |
| 204 | + |
| 205 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-backend] |
| 206 | +version = "0.3.15" |
| 207 | +features = [ |
| 208 | + "client_system", |
| 209 | + "dlopen", |
| 210 | + "log", |
| 211 | +] |
| 212 | +optional = true |
| 213 | + |
| 214 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-client] |
| 215 | +version = "0.31.11" |
| 216 | +optional = true |
| 217 | + |
| 218 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-cursor] |
| 219 | +version = "0.31.11" |
| 220 | +optional = true |
| 221 | + |
| 222 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-protocols] |
| 223 | +version = "0.32.9" |
| 224 | +features = [ |
| 225 | + "client", |
| 226 | + "staging", |
| 227 | + "unstable", |
| 228 | +] |
| 229 | +optional = true |
| 230 | + |
| 231 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-protocols-plasma] |
| 232 | +version = "0.3.9" |
| 233 | +features = ["client"] |
| 234 | +optional = true |
| 235 | + |
| 236 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-protocols-wlr] |
| 237 | +version = "0.3.9" |
| 238 | +features = ["client"] |
| 239 | +optional = true |
| 240 | + |
| 241 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.x11rb] |
| 242 | +version = "0.13.1" |
| 243 | +features = [ |
| 244 | + "allow-unsafe-code", |
| 245 | + "xkb", |
| 246 | + "randr", |
| 247 | + "xinput", |
| 248 | + "cursor", |
| 249 | + "resource_manager", |
| 250 | + "sync", |
| 251 | + "dri3", |
| 252 | +] |
| 253 | +optional = true |
| 254 | + |
| 255 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.xim] |
| 256 | +version = "0.4.0-zed" |
| 257 | +features = [ |
| 258 | + "x11rb-xcb", |
| 259 | + "x11rb-client", |
| 260 | +] |
| 261 | +optional = true |
| 262 | +package = "zed-xim" |
| 263 | + |
| 264 | +[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.xkbcommon] |
| 265 | +version = "0.8" |
| 266 | +optional = true |
| 267 | +default-features = false |
| 268 | + |
| 269 | +[lints.clippy] |
| 270 | +dbg_macro = "deny" |
| 271 | +declare_interior_mutable_const = "deny" |
| 272 | +disallowed_methods = "deny" |
| 273 | +large_enum_variant = "allow" |
| 274 | +let_underscore_future = "allow" |
| 275 | +nonminimal_bool = "allow" |
| 276 | +redundant_clone = "deny" |
| 277 | +single_range_in_vec_init = "allow" |
| 278 | +todo = "deny" |
| 279 | +too_many_arguments = "allow" |
| 280 | +type_complexity = "allow" |
| 281 | + |
| 282 | +[lints.clippy.style] |
| 283 | +level = "allow" |
| 284 | +priority = -1 |
| 285 | + |
| 286 | +[lints.rust.unexpected_cfgs] |
| 287 | +level = "allow" |
| 288 | +priority = 0 |
0 commit comments