Skip to content

Commit

Permalink
0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ManevilleF committed Jan 31, 2024
1 parent 5bd6d49 commit 5dd8f4b
Show file tree
Hide file tree
Showing 4 changed files with 12 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.13.0

### algorithms

* (**BREAKING**) `a_star` `cost` function parameter now takes two adjacent `Hex`
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.12.0"
version = "0.13.0"
edition = "2021"
authors = ["Felix de Maneville <felix.maneville@gmail.com>"]
description = "Hexagonal utilities"
Expand Down
10 changes: 5 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.12.0/status.svg)](https://deps.rs/crate/hexx)
[![dependency status](https://deps.rs/crate/hexx/0.13.0/status.svg)](https://deps.rs/crate/hexx)

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

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

- `hexx = "0.12"`
- `hexx = "0.13"`

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

## Features

Expand Down
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,28 @@
//! Run `cargo add hexx` in your project or add the following line to your
//! `Cargo.toml`:
//!
//! - `hexx = "0.12"`
//! - `hexx = "0.13"`
//!
//! ### 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.12", features = ["serde"] }`
//! - `hexx = { version = "0.13", 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.12", features = ["packed"] }`
//! - `hexx = { version = "0.13", 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.12", features = ["bevy_reflect"] }`
//! - `hexx = { version = "0.13", features = ["bevy_reflect"] }`
//!
//! ## Features
//!
Expand Down

0 comments on commit 5dd8f4b

Please sign in to comment.