From 5a2acd2739338028f7825839f69b86dd499c2a70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Lescaudey=20de=20Maneville?= Date: Tue, 3 Sep 2024 11:17:04 +0200 Subject: [PATCH] 0.18.0 --- CHANGELOG.md | 2 ++ Cargo.toml | 2 +- README.md | 12 ++++++------ src/lib.rs | 10 +++++----- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2bee64..3969b75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased] +## 0.18.0 + * Fix `unexpected_cfgs` check complaining about `spirv` arch * Added `Hex::as_u64` and `Hex::from_u64` (#169) * Bumped `bevy` to 0.14.x (#173) diff --git a/Cargo.toml b/Cargo.toml index 4528f63..3b93a9b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hexx" -version = "0.17.0" +version = "0.18.0" edition = "2021" authors = ["Felix de Maneville "] description = "Hexagonal utilities" diff --git a/README.md b/README.md index df0ee94..1ba3596 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.17.0/status.svg)](https://deps.rs/crate/hexx) +[![dependency status](https://deps.rs/crate/hexx/0.18.0/status.svg)](https://deps.rs/crate/hexx) @@ -33,7 +33,7 @@ Run `cargo add hexx` in your project or add the following line to your `Cargo.toml`: - * `hexx = "0.17"` + * `hexx = "0.18"` ### Cargo features @@ -41,26 +41,26 @@ through the `serde` feature gate. To enable it add the following line to your `Cargo.toml`: - * `hexx = { version = "0.17", features = ["serde"] }` + * `hexx = { version = "0.18", 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.17", features = ["packed"] }` + * `hexx = { version = "0.18", 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.17", features = ["bevy_reflect"] }` + * `hexx = { version = "0.18", features = ["bevy_reflect"] }` `hexx` supports Face/Vertex/Edge [grid handling](https://www.redblobgames.com/grids/parts/#hexagon-coordinates) using `Hex` as Face, `GridVertex` as vertex and `GridEdge` as edge. To enable it add the following line to your `Cargo.toml`: - * `hexx = { version = "0.17", features = ["grid"] }` + * `hexx = { version = "0.18", features = ["grid"] }` ## Features diff --git a/src/lib.rs b/src/lib.rs index 1cb4a87..91a61f1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -20,7 +20,7 @@ //! Run `cargo add hexx` in your project or add the following line to your //! `Cargo.toml`: //! -//! * `hexx = "0.17"` +//! * `hexx = "0.18"` //! //! ### Cargo features //! @@ -28,26 +28,26 @@ //! through the `serde` feature gate. To enable it add the following line to //! your `Cargo.toml`: //! -//! * `hexx = { version = "0.17", features = ["serde"] }` +//! * `hexx = { version = "0.18", 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.17", features = ["packed"] }` +//! * `hexx = { version = "0.18", 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.17", features = ["bevy_reflect"] }` +//! * `hexx = { version = "0.18", features = ["bevy_reflect"] }` //! //! `hexx` supports Face/Vertex/Edge [grid handling](https://www.redblobgames.com/grids/parts/#hexagon-coordinates) //! using `Hex` as Face, `GridVertex` as vertex and `GridEdge` as edge. To //! enable it add the following line to your `Cargo.toml`: //! -//! * `hexx = { version = "0.17", features = ["grid"] }` +//! * `hexx = { version = "0.18", features = ["grid"] }` //! //! ## Features //!