From 43661362a34047557a8dbb3acc75729732c5be84 Mon Sep 17 00:00:00 2001 From: Fernando A <53105809+mrtelecaster@users.noreply.github.com> Date: Tue, 8 Aug 2023 12:10:07 -0400 Subject: [PATCH] chore: prepare for publication 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 --- Cargo.toml | 8 ++++---- src/coords/mod.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 33fae34..04faa85 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "hexmap" -version = "0.1.1" +name = "hextile" +version = "0.1.2" edition = "2021" authors = ["Fernando A. Fraticelli <53105809+mrtelecaster@users.noreply.github.com>"] description = "Handles coordinate math and other logic for hexagonal game maps" @@ -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] diff --git a/src/coords/mod.rs b/src/coords/mod.rs index 9a36d10..ea69714 100644 --- a/src/coords/mod.rs +++ b/src/coords/mod.rs @@ -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.