Skip to content

Commit

Permalink
chore: prepare for publication
Browse files Browse the repository at this point in the history
Some additional changes to prepare the crate for publication on crates.io

* Rename crate to `hextile`
* Fix wildcard dependencies and bump version
* Remove unused imports
* Bump version 0.1.2
  • Loading branch information
mrtelecaster authored Aug 8, 2023
1 parent 2cfb884 commit 4366136
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hexmap"
version = "0.1.1"
name = "hextile"
version = "0.1.2"
edition = "2021"
authors = ["Fernando A. Fraticelli <[email protected]>"]
description = "Handles coordinate math and other logic for hexagonal game maps"
Expand All @@ -13,8 +13,8 @@ categories = ["data-structures", "game-development"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
lerp = { version="*" }
serde = { version="*", features=["derive"] }
lerp = { version="0.5" }
serde = { version="1", features=["derive"] }
bevy = { version="0.11", optional=true }

[features]
Expand Down
2 changes: 1 addition & 1 deletion src/coords/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ mod macros; pub use macros::*;
#[cfg(feature="bevy")]
use bevy::prelude::Vec3;

use crate::{Orientation, constants::{FLAT_TOP_CORNERS, POINTY_TOP_CORNERS}};
use crate::Orientation;


/// Trait for a type that can represent a coordinate on a hexagonal grid.
Expand Down

0 comments on commit 4366136

Please sign in to comment.