forked from not-fl3/egui-miniquad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
47 lines (41 loc) · 1.37 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
47
[package]
name = "egui-miniquad"
version = "0.12.0"
authors = [
"Logachev Fedor <[email protected]>",
"Emil Ernerfeldt <[email protected]>",
]
description = "Bindings between egui and miniquad"
edition = "2021"
rust-version = "1.60"
license = "MIT OR Apache-2.0"
readme = "README.md"
homepage = "https://github.com/not-fl3/egui-miniquad"
repository = "https://github.com/not-fl3/egui-miniquad"
categories = ["gui", "game-development"]
keywords = ["gui", "imgui", "immediate", "portable", "gamedev"]
include = ["../LICENSE-APACHE", "../LICENSE-MIT", "**/*.rs", "Cargo.toml"]
[dependencies]
backtrace = "0.3.65"
bytemuck = "1.9"
egui = { version = "0.19.0", features = ["bytemuck"] }
#miniquad = { version = "0.3.12" }
#miniquad = { path="./miniquad" }
miniquad = { git="https://github.com/skydig/miniquad", rev="48676f2"}
quad-url = "0.1"
once_cell = "1.14.0"
hrstopwatch = "0.0.1"
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.2.7", features = ["custom"] }
quad-rand = "0.2.1"
# https://github.com/not-fl3/miniquad/issues/172
[target.'cfg(target_os = "macos")'.dependencies]
copypasta = "0.8.1"
[dev-dependencies]
egui_demo_lib = { version = "0.19.0", default-features = false }
glam = "0.21.1"
[profile.release]
opt-level = 2 # fast and small wasm
# native:
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
tracing-subscriber = "0.3"