Skip to content

Commit

Permalink
0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ManevilleF committed Aug 6, 2023
1 parent a88a6ec commit c155ad3
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.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)
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.9.2"
version = "0.10.0"
edition = "2021"
authors = ["Felix de Maneville <[email protected]>"]
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.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)

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

Expand All @@ -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

Expand Down
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
//!
Expand Down

0 comments on commit c155ad3

Please sign in to comment.