-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathCargo.toml
47 lines (40 loc) · 1.21 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 = "bevy_stl"
version = "0.15.0"
authors = ["Niklas Cathor <niklas.cathor@gmx.de>"]
edition = "2021"
license = "MIT"
description = "STL loader for bevy, based on stl_io"
repository = "https://github.com/nilclass/bevy_stl"
readme = "README.md"
resolver = "2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bevy = { git = "https://github.com/bevyengine/bevy", default-features = false, features = [
"bevy_asset",
"bevy_render",
] }
thiserror = "2.0"
stl_io = "0.8.3"
[dev-dependencies]
bevy = { git = "https://github.com/bevyengine/bevy", default-features = false, features = [
"bevy_asset",
"bevy_core_pipeline",
"bevy_pbr",
"bevy_winit",
"bevy_window",
"tonemapping_luts",
"x11",
] }
[features]
default = ["wireframe"]
# Along with the triangle mesh, generate an additional wireframe mesh (a PrimitiveTopology::LineList).
# The wireframe mesh can be accessed by `asset_server.load("my-model.stl#wireframe")`.
wireframe = []
[[example]]
name = "spinning_disc"
path = "examples/spinning_disc.rs"
[[example]]
name = "spinning_disc_wireframe"
path = "examples/spinning_disc_wireframe.rs"
required-features = ["wireframe"]