Skip to content

Commit

Permalink
0.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ManevilleF committed Sep 3, 2024
1 parent 3ec9e43 commit 5a2acd2
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hexx"
version = "0.17.0"
version = "0.18.0"
edition = "2021"
authors = ["Felix de Maneville <felix.maneville@gmail.com>"]
description = "Hexagonal utilities"
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

<!-- cargo-sync-readme start -->

Expand All @@ -33,34 +33,34 @@
Run `cargo add hexx` in your project or add the following line to your
`Cargo.toml`:

* `hexx = "0.17"`
* `hexx = "0.18"`

### 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.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

Expand Down
10 changes: 5 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,34 +20,34 @@
//! Run `cargo add hexx` in your project or add the following line to your
//! `Cargo.toml`:
//!
//! * `hexx = "0.17"`
//! * `hexx = "0.18"`
//!
//! ### 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.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
//!
Expand Down

0 comments on commit 5a2acd2

Please sign in to comment.