Skip to content

Commit

Permalink
0.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ManevilleF committed Feb 1, 2024
1 parent ec033c8 commit b98fad5
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 10 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.14.0

* Defined MSRV to be 1.72.1 (#145)
* Made internal `HexOrientationData` matrices `const` (#145)
* (**BREAKING**) Fixed `uv` generation for planes and columns (#145):
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.13.0"
version = "0.14.0"
edition = "2021"
authors = ["Felix de Maneville <[email protected]>"]
description = "Hexagonal utilities"
Expand Down
12 changes: 7 additions & 5 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.13.0/status.svg)](https://deps.rs/crate/hexx)
[![dependency status](https://deps.rs/crate/hexx/0.14.0/status.svg)](https://deps.rs/crate/hexx)

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

Expand All @@ -30,31 +30,33 @@
## Installation

> Minimum supported rust version (MSRV) is `1.72.1`
Run `cargo add hexx` in your project or add the following line to your
`Cargo.toml`:

- `hexx = "0.13"`
- `hexx = "0.14"`

### 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.13", features = ["serde"] }`
- `hexx = { version = "0.14", 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.13", features = ["packed"] }`
- `hexx = { version = "0.14", 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.13", features = ["bevy_reflect"] }`
- `hexx = { version = "0.14", features = ["bevy_reflect"] }`

## Features

Expand Down
10 changes: 6 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,33 @@
//!
//! ## Installation
//!
//! > Minimum supported rust version (MSRV) is `1.72.1`
//!
//! Run `cargo add hexx` in your project or add the following line to your
//! `Cargo.toml`:
//!
//! - `hexx = "0.13"`
//! - `hexx = "0.14"`
//!
//! ### 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.13", features = ["serde"] }`
//! - `hexx = { version = "0.14", 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.13", features = ["packed"] }`
//! - `hexx = { version = "0.14", 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.13", features = ["bevy_reflect"] }`
//! - `hexx = { version = "0.14", features = ["bevy_reflect"] }`
//!
//! ## Features
//!
Expand Down

0 comments on commit b98fad5

Please sign in to comment.