Skip to content

Commit

Permalink
bump supported bevy version
Browse files Browse the repository at this point in the history
  • Loading branch information
shnewto committed Jul 7, 2024
1 parent cb45481 commit 92acaa1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
19 changes: 10 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,26 @@ default=[]
bevy=["dep:bevy"]

[dependencies]
glam = "0.25.0"
hashbrown = "0.14.5"
image = "0.24.9"
mashmap = "0.1.1"
ordered-float = "4.2.0"
thiserror = "1.0.57"
glam = "0.25"
hashbrown = "0.14"
image = "0.25"
mashmap = "0.1"
ordered-float = "4.2"
thiserror = "1.0"

[dependencies.bevy]
version = "0.13.0"
version = "0.14"
default-features = false
features = ["bevy_render"]
optional = true

[dev-dependencies]
raqote = "0.8.4"
open = "5.1.2"
raqote = "0.8"
open = "5.1"

[[example]]
name = "bevy-image"
required-features = ["bevy"]

[[example]]
name = "dynamic-image"
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ get the edges of objects in images with transparency.
use edges::Edges;
use std::path::Path;

fn main() {
let image = image::open(Path::new("assets/car.png"));
let edges = Edges::from(image.unwrap());
println!("{:#?}", edges.single_image_edge_translated());
}
let image = image::open(Path::new("assets/car.png"));
let edges = Edges::from(image.unwrap());
println!("{:#?}", edges.single_image_edge_translated());
```

## how it works
Expand Down

0 comments on commit 92acaa1

Please sign in to comment.