Use released polyline crate.
This commit is contained in:
parent
2bd9506ca2
commit
7cb70b218b
2 changed files with 7 additions and 7 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -449,7 +449,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "bevy_polyline"
|
name = "bevy_polyline"
|
||||||
version = "0.1.1"
|
version = "0.1.3"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "6c5c82e6ea20642e4d8aa120bcf0ae09d7cae067825d7f954228c246bb8c948b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bevy",
|
"bevy",
|
||||||
"bitflags",
|
"bitflags",
|
||||||
|
|
10
Cargo.toml
10
Cargo.toml
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
|
bevy_polyline = "0.1"
|
||||||
|
|
||||||
[dependencies.bevy]
|
[dependencies.bevy]
|
||||||
version = "0.6"
|
version = "0.6"
|
||||||
|
@ -22,14 +23,11 @@ features = [
|
||||||
version = "1.1"
|
version = "1.1"
|
||||||
features = ["3d"]
|
features = ["3d"]
|
||||||
|
|
||||||
# until this is on crates.io
|
# Enable optimizations for dependencies (incl. Bevy), but not for our code:
|
||||||
[dependencies.bevy_polyline]
|
[profile.dev.package."*"]
|
||||||
path = "../bevy_polyline"
|
opt-level = 3
|
||||||
|
|
||||||
# Maybe also enable only a small amount of optimization for our code:
|
# Maybe also enable only a small amount of optimization for our code:
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
opt-level = 1
|
opt-level = 1
|
||||||
|
|
||||||
# Enable optimizations for dependencies (incl. Bevy), but not for our code:
|
|
||||||
[profile.dev.package."*"]
|
|
||||||
opt-level = 3
|
|
||||||
|
|
Loading…
Reference in a new issue