Skip to content

Commit

Permalink
Bump crate version and rust version
Browse files Browse the repository at this point in the history
  • Loading branch information
Weasy666 committed Jul 12, 2023
1 parent c4c2176 commit 41fe6e4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]


## [0.11.0] - 2023-07-12
### Changed
- Update bevy to `0.11` ([#33](https://github.com/Weasy666/bevy_svg/pull/33) Thanks @NiseVoid)
- Change `rust-version` to 1.70

## [0.10.1] - 2023-04-23
### Added
- Added a `from_bytes` function on the `Svg` struct that loads in an SVG from byte data ([#30](https://github.com/Weasy666/bevy_svg/pull/30))
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ license = "MIT OR Apache-2.0"
name = "bevy_svg"
readme = "README.md"
repository = "https://github.com/Weasy666/bevy_svg/"
version = "0.10.1"
version = "0.11.0"
keywords = ["gamedev", "graphics", "bevy", "svg"]
categories = ["Graphics", "Game engines", "Rendering"]
exclude = ["assets", "examples"]
rust-version = "1.67"
rust-version = "1.70"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ into a vertex buffer, which lastly is convert into a [`Bevy`] mesh and drawn wit
## Compatibility
| `Bevy` version | `bevy_svg` version | Branch |
|----------------|--------------------|-------------|
| [![Crates.io](https://img.shields.io/badge/crates.io-v0.11.0-orange)](https://crates.io/crates/bevy/0.11.0) | [![Crates.io](https://img.shields.io/badge/crates.io-v0.11.0-orange)](https://crates.io/crates/bevy-svg/0.11.0) | [`bevy-0.11`](https://github.com/Weasy666/bevy_svg/tree/bevy-0.11) |
| [![Crates.io](https://img.shields.io/badge/crates.io-v0.10.0-orange)](https://crates.io/crates/bevy/0.10.0) | [![Crates.io](https://img.shields.io/badge/crates.io-v0.10.1-orange)](https://crates.io/crates/bevy-svg/0.10.1) | [`bevy-0.10`](https://github.com/Weasy666/bevy_svg/tree/bevy-0.10) |
| [![Crates.io](https://img.shields.io/badge/crates.io-v0.9.0-orange)](https://crates.io/crates/bevy/0.9.0) | [![Crates.io](https://img.shields.io/badge/crates.io-v0.9.0-orange)](https://crates.io/crates/bevy-svg/0.9.0) | [`bevy-0.9`](https://github.com/Weasy666/bevy_svg/tree/bevy-0.9) |
| [![Crates.io](https://img.shields.io/badge/branch-main-yellow)](https://github.com/bevyengine/bevy) | [![Crates.io](https://img.shields.io/badge/branch-main-yellow)](https://github.com/Weasy666/bevy_svg/) | [`main`](https://github.com/Weasy666/bevy_svg) |

<details><summary>Old versions</summary>

| `Bevy` version | `bevy_svg` version | Branch |
|----------------|--------------------|-------------|
| [![Crates.io](https://img.shields.io/badge/crates.io-v0.9.0-orange)](https://crates.io/crates/bevy/0.9.0) | [![Crates.io](https://img.shields.io/badge/crates.io-v0.9.0-orange)](https://crates.io/crates/bevy-svg/0.9.0) | [`bevy-0.9`](https://github.com/Weasy666/bevy_svg/tree/bevy-0.9) |
| [![Crates.io](https://img.shields.io/badge/crates.io-v0.8.0-orange)](https://crates.io/crates/bevy/0.8.0) | [![Crates.io](https://img.shields.io/badge/crates.io-v0.8.0-orange)](https://crates.io/crates/bevy-svg/0.8.0) | [`bevy-0.8`](https://github.com/Weasy666/bevy_svg/tree/bevy-0.8) |
| [![Crates.io](https://img.shields.io/badge/crates.io-v0.7.0-orange)](https://crates.io/crates/bevy/0.7.0) | [![Crates.io](https://img.shields.io/badge/crates.io-v0.7.0-orange)](https://crates.io/crates/bevy-svg/0.7.0) | [`bevy-0.7`](https://github.com/Weasy666/bevy_svg/tree/bevy-0.7) |
| [![Crates.io](https://img.shields.io/badge/crates.io-v0.6.0-orange)](https://crates.io/crates/bevy/0.6.0) | [![Crates.io](https://img.shields.io/badge/crates.io-v0.6.0-orange)](https://crates.io/crates/bevy-svg/0.6.0) | [`bevy-0.6`](https://github.com/Weasy666/bevy_svg/tree/bevy-0.6) |
Expand All @@ -47,12 +48,12 @@ Copy this to your `Cargo.toml`

```toml
# Stable
bevy_svg = "0.10.1"
bevy_svg = "0.11.0"

# 2D and 3D are available on default, if you only want/need one, use the following
bevy_svg = { version = "0.10.1", default-features = false, features = ["2d"] }
bevy_svg = { version = "0.11.0", default-features = false, features = ["2d"] }
# or
bevy_svg = { version = "0.10.1", default-features = false, features = ["3d"] }
bevy_svg = { version = "0.11.0", default-features = false, features = ["3d"] }

# Living on the edge (at your own risk 😅)
bevy_svg = { git = "https://github.com/Weasy666/bevy_svg", branch = "main" }
Expand All @@ -75,7 +76,7 @@ fn main() {
..Default::default()
}))
.add_plugin(bevy_svg::prelude::SvgPlugin)
.add_startup_system(setup)
.add_systems(Startup, setup)
.run();
}

Expand Down Expand Up @@ -108,7 +109,7 @@ fn main() {
..Default::default()
}))
.add_plugin(bevy_svg::prelude::SvgPlugin)
.add_startup_system(setup)
.add_systems(Startup, setup)
.run();
}

Expand Down Expand Up @@ -144,4 +145,4 @@ bevy_svg is licensed under either of the following, at your option:
[`bevy_prototype_lyon`]: https://github.com/Nilirad/bevy_prototype_lyon
[`Lyon`]: https://github.com/nical/lyon
[`usvg`]: https://github.com/RazrFalcon/resvg
[`AssetLoader`]: https://docs.rs/bevy/0.9/bevy/asset/trait.AssetLoader.html
[`AssetLoader`]: https://docs.rs/bevy/0.11/bevy/asset/trait.AssetLoader.html

0 comments on commit 41fe6e4

Please sign in to comment.