-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
44 lines (39 loc) · 1.45 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[package]
name = "async-winit"
version = "0.2.1"
edition = "2021"
authors = ["John Nunley <[email protected]>"]
description = "Use winit like an async runtime"
repository = "https://src.notgull.net/notgull/async-winit"
homepage = "https://src.notgull.net/notgull/async-winit"
license = "LGPL-3.0-or-later OR MPL-2.0"
rust-version = "1.67.1"
[dependencies]
async-channel = { version = "1.8.0", optional = true }
cfg-if = "1.0.0"
concurrent-queue = { version = "2.2.0", optional = true }
futures-lite = { version = "1.13.0", default-features = false }
once_cell = "1.17.1"
parking = "2.1.0"
pin-project-lite = "0.2.9"
raw-window-handle = "0.5.2"
slab = "0.4.8"
unsend = { version = "0.2.1", default-features = false, features = ["alloc"] }
winit = { version = "0.28.3", default-features = false }
[build-dependencies]
cfg_aliases = "0.1.1"
[dev-dependencies]
async-channel = "1.8.0"
futures-lite = { version = "1.13.0", features = ["std"], default-features = false }
softbuffer = { version = "0.2.0", default-features = false, features = ["x11"] }
winit = { version = "0.28.3", default-features = false, features = ["x11"] }
[features]
default = ["wayland", "wayland-dlopen", "x11"]
thread_safe = ["async-channel", "concurrent-queue"]
x11 = ["winit/x11"]
wayland = ["winit/wayland"]
wayland-dlopen = ["winit/wayland-dlopen"]
android-native-activity = ["winit/android-native-activity"]
android-game-activity = ["winit/android-game-activity"]
[workspace]
members = ["smol_example"]