diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bd9ab6..a2341df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased] +## 0.10.0 + * Examples use camera viewport to retrieve cursor world position (#112) * (**BREAKING**) `Hex::round` now takes a `[f32; 2]` parameter instead of `(f32, f32)` (#112) diff --git a/Cargo.toml b/Cargo.toml index 81b3a5e..2718d61 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hexx" -version = "0.9.2" +version = "0.10.0" edition = "2021" authors = ["Felix de Maneville "] description = "Hexagonal utilities" diff --git a/README.md b/README.md index 47acb71..fa52d0c 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/) [![Crates.io](https://img.shields.io/crates/v/hexx.svg)](https://crates.io/crates/hexx) [![Docs.rs](https://docs.rs/hexx/badge.svg)](https://docs.rs/hexx) -[![dependency status](https://deps.rs/crate/hexx/0.9.2/status.svg)](https://deps.rs/crate/hexx) +[![dependency status](https://deps.rs/crate/hexx/0.10.0/status.svg)](https://deps.rs/crate/hexx) @@ -31,25 +31,25 @@ Run `cargo add hexx` in your project or add the following line to your `Cargo.toml`: - - `hexx = "0.9"` + - `hexx = "0.10"` ### Cargo features `hexx` supports serialization and deserialization of most types using [serde](https://github.com/serde-rs/serde), through the `serde` feature gate. To enable it add the following line to your `Cargo.toml`: - - `hexx = { version = "0.9", features = ["serde"] }` + - `hexx = { version = "0.10", features = ["serde"] }` By default `Hex` uses rust classic memory layout, if you want to use `hexx` through the FFI or have `Hex` be stored without any memory padding, the `packed` feature will make `Hex` `repr(C)`. To enable this behaviour add the following line to your `Cargo.toml`: - - `hexx = { version = "0.9", features = ["packed"] }` + - `hexx = { version = "0.10", features = ["packed"] }` `hexx` supports [Bevy Reflection](https://docs.rs/bevy_reflect/latest/bevy_reflect) through the `bevy_reflect` feature. To enable it add the following line to your `Cargo.toml`: - - `hexx = { version = "0.9", features = ["bevy_reflect"] }` + - `hexx = { version = "0.10", features = ["bevy_reflect"] }` ## Features diff --git a/src/lib.rs b/src/lib.rs index 38f5b38..22e49bc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,25 +18,25 @@ //! //! Run `cargo add hexx` in your project or add the following line to your `Cargo.toml`: //! -//! - `hexx = "0.9"` +//! - `hexx = "0.10"` //! //! ### Cargo features //! //! `hexx` supports serialization and deserialization of most types using [serde](https://github.com/serde-rs/serde), //! through the `serde` feature gate. To enable it add the following line to your `Cargo.toml`: //! -//! - `hexx = { version = "0.9", features = ["serde"] }` +//! - `hexx = { version = "0.10", features = ["serde"] }` //! //! By default `Hex` uses rust classic memory layout, if you want to use `hexx` through the FFI or //! have `Hex` be stored without any memory padding, the `packed` feature will make `Hex` //! `repr(C)`. To enable this behaviour add the following line to your `Cargo.toml`: //! -//! - `hexx = { version = "0.9", features = ["packed"] }` +//! - `hexx = { version = "0.10", features = ["packed"] }` //! //! `hexx` supports [Bevy Reflection](https://docs.rs/bevy_reflect/latest/bevy_reflect) through the //! `bevy_reflect` feature. To enable it add the following line to your `Cargo.toml`: //! -//! - `hexx = { version = "0.9", features = ["bevy_reflect"] }` +//! - `hexx = { version = "0.10", features = ["bevy_reflect"] }` //! //! ## Features //!