Skip to content

Commit

Permalink
Update Bevy version requirement to 0.13 (#2)
Browse files Browse the repository at this point in the history
- Updated bevy version requirement to 0.13.
- Updated crate version to 0.2.0.
- Updated README.md.
  • Loading branch information
mnmaita authored Apr 4, 2024
1 parent 9fb6065 commit 96d2ca2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "trve_bevy_font"
version = "0.1.0"
version = "0.2.0"
edition = "2021"

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

[dependencies]
bevy = { version = "0.12", default-features = false, features = ["bevy_text"] }
bevy = { version = "0.13", default-features = false, features = ["bevy_text"] }
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ trve_bevy_font = { git = "https://github.com/mnmaita/trve_bevy_font" }
Remember you can also target tags, commits and branches with this method:

```toml
trve_bevy_font = { git = "https://github.com/mnmaita/trve_bevy_font", tag = "v0.1.0" }
trve_bevy_font = { git = "https://github.com/mnmaita/trve_bevy_font", tag = "v0.2.0" }
```

```toml
Expand Down Expand Up @@ -50,9 +50,9 @@ Certain platforms, like web, can't use `load_folder` to load assets so this libr
```rs
app.insert_resource(FontAssetList::new(
[
"textures/bold.ttf",
"textures/italic.ttf",
"textures/thin.ttf",
"typography/bold.ttf",
"typography/italic.ttf",
"typography/thin.ttf",
]
.into(),
));
Expand All @@ -62,6 +62,7 @@ If you insert this Resource, `FontAssetFolder` will be ignored and the plugin wi

## Bevy version compatibility

|trve_bevy_font|bevy|
|---|---|
|0.1|0.12|
| trve_bevy_font | bevy |
| -------------- | ---- |
| 0.2 | 0.13 |
| 0.1 | 0.12 |

0 comments on commit 96d2ca2

Please sign in to comment.