Skip to content

Commit

Permalink
Utiles v7 dev (#219)
Browse files Browse the repository at this point in the history
* utiles version 7

* ruff and mypy fixes

* add authors to `python -m utiles`

* update requirements

* lib fix clippy
  • Loading branch information
jessekrubin authored Dec 19, 2024
1 parent 923c008 commit 18c9a89
Show file tree
Hide file tree
Showing 17 changed files with 3,396 additions and 3,198 deletions.
217 changes: 105 additions & 112 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ members = [
]

[workspace.package]
version = "0.7.0-beta.2"
version = "0.7.0-beta.3"
authors = [
"Jesse Rubin <[email protected]>",
"Dan Costello <[email protected]>",
Expand Down Expand Up @@ -39,7 +39,7 @@ serde_json = { version = "1.0.133", features = ["preserve_order"] }
size = { version = "=0.5.0-preview2", features = ["default"] }
strum = { version = "0.26.3", features = ["derive"] }
strum_macros = "0.26.3"
thiserror = "2.0.7"
thiserror = "2.0.8"
tilejson = "0.4.1"
tokio = { version = "1.42.0", features = ["full"] }
tokio-stream = "0.1.17"
Expand Down
3 changes: 2 additions & 1 deletion crates/utiles-core/src/fns.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//! Core util(e)ity functions for working with web mercator tiles, bounding boxes, et al
#![deny(clippy::missing_const_for_fn)]
use std::f64::consts::PI;
use std::num::FpCategory;

Expand Down Expand Up @@ -81,7 +82,7 @@ pub fn yflip(y: u32, z: u8) -> u32 {
/// of the tile.
#[must_use]
#[inline]
pub fn int_2_offset_zoom(i: u64) -> (u64, u8) {
pub const fn int_2_offset_zoom(i: u64) -> (u64, u8) {
if i == 0 {
return (0, 0);
}
Expand Down
16 changes: 8 additions & 8 deletions crates/utiles-wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@jsse/eslint-config": "^0.0.10",
"eslint": "^8.52.0",
"pmtiles": "^2.11.0",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vite-plugin-top-level-await": "^1.3.1",
"vite-plugin-wasm": "^3.2.2",
"vitest": "^0.34.6"
"@jsse/eslint-config": "^0.2.30",
"eslint": "^9.17.0",
"pmtiles": "^4.1.0",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vite-plugin-top-level-await": "^1.4.4",
"vite-plugin-wasm": "^3.3.0",
"vitest": "^2.1.8"
}
}
Loading

0 comments on commit 18c9a89

Please sign in to comment.