forked from mvlabat/bevy_egui
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
46 lines (40 loc) · 1.43 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
45
46
[package]
name = "bevy_egui"
version = "0.11.1"
authors = ["mvlabat <mvlabat@gmail.com>"]
description = "A plugin for Egui integration into Bevy"
license = "MIT"
edition = "2021"
repository = "https://github.com/mvlabat/bevy_egui"
exclude = ["assets/**/*", ".github/**/*"]
[package.metadata.docs.rs]
no-default-features = true # clipboard crate fails the build currently https://github.com/rust-lang/docs.rs/issues/695
features = ["multi_threaded", "open_url"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["manage_clipboard", "open_url"]
manage_clipboard = ["clipboard", "thread_local"]
multi_threaded = ["egui/multi_threaded"]
open_url = ["webbrowser"]
[dependencies]
bevy = { version = "0.6", default-features = false, features = [
"bevy_render",
"bevy_winit",
"bevy_core_pipeline"
] }
egui = "0.16"
webbrowser = { version = "0.5.5", optional = true }
winit = { version = "0.26.0", features = ["x11"], default-features = false }
bytemuck = { version = "1.7.0", features = ["derive"] }
wgpu = "0.12.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
clipboard = { version = "0.5.0", optional = true }
thread_local = { version = "1.1.0", optional = true }
[dev-dependencies]
once_cell = "1.9.0"
version-sync = "0.9.2"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
bevy = { version = "0.6", default-features = false, features = [
"x11",
"png"
] }