-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
44 lines (38 loc) · 1.28 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
[package]
name = "bevy_mod_paramap"
authors = ["Nicola Papale"]
description = "Parallax mapping shaders (relief and POM) for the bevy game engine"
license = "Apache-2.0"
readme = "README.md"
keywords = ["bevy", "graphics", "3d"]
categories = ["game-development"]
repository = "https://github.com/nicopap/bevy_mod_paramap"
exclude = ["assets", ".github"]
version = "0.3.0"
edition = "2021"
[features]
default = []
debug = []
[dependencies]
bevy = { version = "0.10", default-features = false, features = [ "bevy_render", "bevy_pbr", "bevy_asset" ] }
anyhow = { version = "1.0", default-features = false }
[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys = { version = "0.3.60", default-features = false, features = [
"CanvasRenderingContext2d",
"Document",
"Element",
"HtmlCanvasElement",
"Window",
]}
wasm-bindgen = { version = "0.2.83" }
[dev-dependencies]
bevy = { version = "0.10", default-features = false, features = [
"jpeg", "bevy_render", "bevy_asset", "bevy_winit", "png", "bevy_pbr", "bevy_core_pipeline"
] }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
bevy = { version = "0.10", default-features = false, features = [ "filesystem_watcher", "x11", "bevy_pbr" ] }
[profile.wasm-release]
inherits = "release"
lto = "fat"
codegen-units = 1
opt-level = "z"