From a0bff4c0b7e99e959dcef9c192f32bc800ef1b11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Maillet?= Date: Sat, 3 Aug 2024 22:13:01 -0400 Subject: [PATCH] Bumped version to 0.2.1 and added check-rust make command --- Cargo.lock | 2 +- Cargo.toml | 2 +- Makefile | 8 ++++++++ pyproject.toml | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 595b698..229c5b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -381,7 +381,7 @@ dependencies = [ [[package]] name = "rusty-polygon-geohasher" -version = "0.1.4" +version = "0.2.1" dependencies = [ "geo", "geo-types", diff --git a/Cargo.toml b/Cargo.toml index 8676b1d..0e4353d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rusty-polygon-geohasher" -version = "0.2.0" +version = "0.2.1" edition = "2021" authors = ["Francois Maillet "] homepage = "https://github.com/nexmoov/rusty-polygon-geohasher" diff --git a/Makefile b/Makefile index 62a43ce..e3e54aa 100644 --- a/Makefile +++ b/Makefile @@ -12,3 +12,11 @@ format: ## Format the code $(info --- Python format ---) poetry run ruff check . --fix poetry run ruff format . + + +.PHONY: check-rust +check-rust: ## Run check on Rust + $(info --- Check Rust clippy ---) + cargo clippy + $(info --- Check Rust format ---) + cargo fmt -- --check diff --git a/pyproject.toml b/pyproject.toml index 8819eb9..6b1d668 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "rusty-polygon-geohasher" -version = "0.2.0" +version = "0.2.1" description = "A Rust implementation of the polygon to geohash library" readme = "README.md" authors = ["Francois Maillet "]