-
-
Notifications
You must be signed in to change notification settings - Fork 190
Expand file tree
/
Copy pathCargo.toml
More file actions
88 lines (78 loc) · 2.38 KB
/
Copy pathCargo.toml
File metadata and controls
88 lines (78 loc) · 2.38 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[package]
authors = ["Sébastien Crozet <developer@crozet.re>"]
name = "kiss3d"
version = "0.41.0"
autoexamples = true
description = "Keep it simple, stupid, 2D and 3D graphics engine for Rust."
edition = "2018"
keywords = ["graphics", "wgpu", "KISS"]
license = "BSD-3-Clause"
readme = "README.md"
repository = "https://github.com/dimforge/kiss3d"
include = [
"src/**/*.rs",
"src/**/*.wgsl",
"src/text/*.ttf",
"examples/**/*.rs",
"examples/media",
"examples/Cargo.toml",
"Cargo.toml",
"LICENSE",
"Readme.md",
]
[lib]
name = "kiss3d"
path = "src/lib.rs"
[features]
egui = ["dep:egui", "dep:egui-wgpu"]
recording = ["dep:ffmpeg-the-third"]
serde = ["dep:serde", "glamx/serde", "bitflags/serde", "rgb/serde"]
[dependencies]
bitflags = "2"
bytemuck = { version = "1", features = ["derive"] }
egui = { version = "0.34", optional = true, default-features = true }
egui-wgpu = { version = "0.34", optional = true }
image = { version = "0.25", default-features = false, features = ["default-formats"] }
web-time = "1"
kiss3d-macro = { version = "0.36.0", path = "kiss3d-macro" }
glamx = { version = "0.2", features = ["bytemuck"] }
ffmpeg-the-third = { version = "4", optional = true }
num-traits = "0.2"
rgb = "0.8"
rusttype = { version = "0.9", features = ["gpu_cache"] }
serde = { version = "1", features = ["derive"], optional = true }
wgpu = "29"
winit = "0.30"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
pollster = "0.4"
[target.wasm32-unknown-unknown.dependencies]
oneshot = { version = "0.2.0", features = ["async"] }
# We depend on getrandom 0.3 only to enable its wasm_js feature.
# And this is needed only because some dependencies still depend on 0.3.
getrandom_03 = { package = "getrandom", version = "0.3", features = ["wasm_js"] }
getrandom = { version = "0.4", features = ["wasm_js"] }
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4.54"
web-sys = { version = "0.3", features = [
"console",
"KeyEvent",
"KeyboardEvent",
"MouseEvent",
"WheelEvent",
"Touch",
"TouchEvent",
"TouchList",
"HtmlCanvasElement",
"HtmlElement",
"Window",
"UiEvent",
"Event",
"EventTarget",
"Element",
"DomRect",
] }
[dev-dependencies]
env_logger = "0.11"
rand = "0.10"
[patch.crates-io]
#glamx = { path = "../glamx" }