diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2bf08c731..56594ab28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -659,12 +659,23 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # Create a personal access token + # Gen: https://github.com/settings/personal-access-tokens/new + # Can also use "regenerate token" button in the expired token screen + # Set: https://github.com/maplibre/martin/settings/secrets/actions/GH_HOMEBREW_MARTIN_TOKEN + # Docs: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token + # Name: anything descriptive + # One year long (sadly that's max) + # Repository owner and repo: maplibre/homebrew-martin + # Access Contents: Read and write + # Access Metadata: Read-only + # Access Pull requests: Read and write - name: Checkout maplibre/homebrew-martin if: startsWith(github.ref, 'refs/tags/') uses: actions/checkout@v4 with: repository: maplibre/homebrew-martin - token: ${{ secrets.GH_HOMEBREW_MARTIN_TOKEN }} + token: ${{ secrets.GH_HOMEBREW_MARTIN_TOKEN }} # See instructions above path: target/homebrew - name: Create Homebrew formula @@ -678,17 +689,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/') uses: peter-evans/create-pull-request@v7 with: - # Create a personal access token - # Gen: https://github.com/settings/personal-access-tokens/new - # Set: https://github.com/maplibre/martin/settings/secrets/actions/GH_HOMEBREW_MARTIN_TOKEN - # Docs: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token - # Name: anything descriptive - # One year long (sadly that's max) - # Repository owner and repo: maplibre/homebrew-martin - # Access Contents: Read and write - # Access Metadata: Read-only - # Access Pull requests: Read and write - token: ${{ secrets.GH_HOMEBREW_MARTIN_TOKEN }} + token: ${{ secrets.GH_HOMEBREW_MARTIN_TOKEN }} # See instructions above commit-message: 'Update to ${{ github.ref }}' title: 'Update to ${{ github.ref }}' body: 'Update to ${{ github.ref }}' diff --git a/Cargo.lock b/Cargo.lock index 432276ca3..57f29da3b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -986,9 +986,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" dependencies = [ "libc", ] @@ -2370,13 +2370,14 @@ dependencies = [ [[package]] name = "insta" -version = "1.42.0" +version = "1.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6513e4067e16e69ed1db5ab56048ed65db32d10ba5fc1217f5393f8f17d8b5a5" +checksum = "71c1b125e30d93896b365e156c33dadfffab45ee8400afcbba4752f59de08a86" dependencies = [ "console", "linked-hash-map", "once_cell", + "pin-project", "serde", "similar", "toml", @@ -2758,7 +2759,7 @@ dependencies = [ [[package]] name = "martin-tile-utils" -version = "0.5.1" +version = "0.6.0" dependencies = [ "approx", "brotli 7.0.0", @@ -2777,7 +2778,7 @@ dependencies = [ [[package]] name = "mbtiles" -version = "0.11.1" +version = "0.12.0" dependencies = [ "actix-rt", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 119546f15..267e0bba2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -54,8 +54,8 @@ json-patch = "3.0" lambda-web = { version = "0.2.1", features = ["actix4"] } libsqlite3-sys = { version = ">=0.27", features = ["bundled"] } log = "0.4" -martin-tile-utils = { path = "./martin-tile-utils", version = "0.5.1" } -mbtiles = { path = "./mbtiles", version = "0.11.1" } +martin-tile-utils = { path = "./martin-tile-utils", version = "0.6.0" } +mbtiles = { path = "./mbtiles", version = "0.12.0" } md5 = "0.7.0" moka = { version = "0.12", features = ["future"] } num_cpus = "1" diff --git a/martin-tile-utils/Cargo.toml b/martin-tile-utils/Cargo.toml index cf416959e..3e8cbe074 100644 --- a/martin-tile-utils/Cargo.toml +++ b/martin-tile-utils/Cargo.toml @@ -2,7 +2,7 @@ lints.workspace = true [package] name = "martin-tile-utils" -version = "0.5.1" +version = "0.6.0" authors = ["Yuri Astrakhan ", "MapLibre contributors"] description = "Utilities to help with map tile processing, such as type and compression detection. Used by the MapLibre's Martin tile server." keywords = ["maps", "tiles", "mvt", "tileserver"] diff --git a/mbtiles/Cargo.toml b/mbtiles/Cargo.toml index 3ce01c536..6b2debab0 100644 --- a/mbtiles/Cargo.toml +++ b/mbtiles/Cargo.toml @@ -2,7 +2,7 @@ lints.workspace = true [package] name = "mbtiles" -version = "0.11.1" +version = "0.12.0" authors = ["Yuri Astrakhan ", "MapLibre contributors"] description = "A simple low-level MbTiles access and processing library, with some tile format detection and other relevant heuristics." keywords = ["mbtiles", "maps", "tiles", "mvt", "tilejson"]