-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCargo.toml
30 lines (27 loc) · 829 Bytes
/
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
[package]
name = "egui_sdl2_platform"
version = "0.3.0"
edition = "2021"
license = "MIT"
description = "A render-backend independant egui backend for sdl2"
[workspace]
members = ["examples/*"]
[dependencies]
# Temporary commit ref to get SDL2 with correct raw_window_handle for use with wgpu
sdl2 = { version = "0.37.0", features = ["raw-window-handle"] }
egui = "0.27"
anyhow = "1.0"
log = "0.4"
[features]
sdl2_unsafe_textures = ["sdl2/unsafe_textures"]
sdl2_gfx = ["sdl2/gfx"]
sdl2_mixer = ["sdl2/mixer"]
sdl2_image = ["sdl2/image"]
sdl2_ttf = ["sdl2/ttf"]
# SDL2 build features
sdl2_use-bindgen = ["sdl2/use-bindgen"]
sdl2_use-pkgconfig = ["sdl2/use-pkgconfig"]
sdl2_use-vcpkg = ["sdl2/use-vcpkg"]
sdl2_use-mac_framework = ["sdl2/use_mac_framework"]
sdl2_bundled = ["sdl2/bundled"]
sdl2_static-link = ["sdl2/static-link"]