diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 60063bd..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Release -on: - push: - tags: - - 'v*' - workflow_dispatch: - -jobs: - publish: - runs-on: ubuntu-latest - steps: - - name: Setup | Checkout - uses: actions/checkout@v4 - - - name: Setup | Toolchain - uses: dtolnay/rust-toolchain@stable - - - name: Cargo | Publish - run: | - cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b10385..17ce15c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,12 @@ Subheadings to categorize changes are `added, changed, deprecated, removed, fixe ## Unreleased +## 0.2.0 + +### Changed + +- Updated to bevy 0.14 + ## 0.1.0 - Initial release. Crate was renamed to `bevy_key_rotation` from `bevy-key-rotation` and republished. diff --git a/Cargo.toml b/Cargo.toml index a3539fe..70a3a8a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,24 +1,24 @@ [package] name = "bevy_key_rotation" description = "Access and refresh token rotation for Bevy applications" -license = "MIT/Apache-2.0" +license = "Apache-2.0 OR MIT" repository = "https://github.com/loopystudios/bevy_key_rotation" authors = ["Spencer C. Imbleau"] keywords = ["gamedev"] -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] web-time = "1.1.0" -thiserror = "1.0.58" -bevy_async_task = "0.1.0" +thiserror = "1.0.61" +bevy_async_task = "0.2.0" async-trait = "0.1.79" -bevy = { version = "0.13", default-features = false } +bevy = { version = "0.14", default-features = false, features = ["bevy_state"] } [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] -getrandom = { version = "0.2.12" } +getrandom = { version = "0.2.15" } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] wasm-bindgen-test = "0.3.42" -getrandom = { version = "0.2.12", features = ["js"] } +getrandom = { version = "0.2.15", features = ["js"] } diff --git a/examples/error_handling.rs b/examples/error_handling.rs index 9eda6ea..c4331ef 100644 --- a/examples/error_handling.rs +++ b/examples/error_handling.rs @@ -1,7 +1,4 @@ -use bevy::{ - log::{self, LogPlugin}, - prelude::*, -}; +use bevy::{log::LogPlugin, prelude::*}; use bevy_key_rotation::{ AuthProvider, KeyRotationPlugin, KeyRotationSettings, Keystore, KeystoreState, StartKeyRotationExt, TokenRotationError, @@ -50,14 +47,14 @@ fn status_check(time: Res