martin/Cargo.toml

114 lines
3.7 KiB
TOML
Raw Normal View History

[workspace]
resolver = "2"
members = ["martin", "martin-tile-utils", "mbtiles"]
[workspace.package]
edition = "2021"
license = "MIT OR Apache-2.0"
2023-07-06 03:56:23 +03:00
repository = "https://github.com/maplibre/martin"
rust-version = "1.76"
readme = "README.md"
homepage = "https://martin.maplibre.org/"
[workspace.lints.rust]
unused_qualifications = "warn"
# Lints inheritance from workspace is not yet supported
# Crate mbtiles uses unsafe code, so we can't forbid it here
# unsafe_code = "forbid"
[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }
derive_partial_eq_without_eq = "allow"
implicit_hasher = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
[workspace.dependencies]
2024-06-27 00:15:27 +03:00
actix-cors = "0.7"
actix-http = "3"
actix-rt = "2"
actix-web = "4"
actix-web-static-files = "4"
anyhow = "1.0"
approx = "0.5.1"
async-trait = "0.1"
2024-07-19 05:54:42 +03:00
bit-set = "0.8"
brotli = ">=5, <8"
cargo-husky = { version = "1", features = ["user-hooks"], default-features = false }
clap = { version = "4", features = ["derive"] }
criterion = { version = "0.5", features = ["async_futures", "async_tokio", "html_reports"] }
ctor = "0.2"
2024-06-27 00:15:27 +03:00
deadpool-postgres = "0.14"
enum-display = "0.1"
2024-01-21 03:52:09 +03:00
env_logger = "0.11"
flate2 = "1"
flume = "0.11"
futures = "0.3"
indoc = "2"
insta = "1"
itertools = "0.13"
2024-10-20 01:28:53 +03:00
json-patch = "3.0"
lambda-web = { version = "0.2.1", features = ["actix4"] }
libsqlite3-sys = { version = ">=0.27", features = ["bundled"] }
2018-03-26 14:12:43 +03:00
log = "0.4"
martin-tile-utils = { path = "./martin-tile-utils", version = "0.5.1" }
mbtiles = { path = "./mbtiles", version = "0.11.1" }
md5 = "0.7.0"
moka = { version = "0.12", features = ["future"] }
num_cpus = "1"
chore(deps): Bump pbf_font_tools from 2.5.0 to 2.5.1 (#1191) Bumps [pbf_font_tools](https://github.com/stadiamaps/sdf_font_tools) from 2.5.0 to 2.5.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/stadiamaps/sdf_font_tools/releases">pbf_font_tools's releases</a>.</em></p> <blockquote> <h2>tools-v2.5.1</h2> <h2>What's Changed</h2> <ul> <li>Housekeeping by <a href="https://github.com/ianthetechie"><code>@​ianthetechie</code></a> in <a href="https://redirect.github.com/stadiamaps/sdf_font_tools/pull/17">stadiamaps/sdf_font_tools#17</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/stadiamaps/sdf_font_tools/compare/cli-v1.4.1...sdf-v1.0.1">https://github.com/stadiamaps/sdf_font_tools/compare/cli-v1.4.1...sdf-v1.0.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/stadiamaps/sdf_font_tools/commit/011f994a593af4b5bb3e95d3157cafe788fb207c"><code>011f994</code></a> Housekeeping (<a href="https://redirect.github.com/stadiamaps/sdf_font_tools/issues/17">#17</a>)</li> <li><a href="https://github.com/stadiamaps/sdf_font_tools/commit/97c5634b8e3515ac7761d0a4f67d12e7f688b042"><code>97c5634</code></a> Fix CI issues round 2</li> <li>See full diff in <a href="https://github.com/stadiamaps/sdf_font_tools/compare/tools-v2.5.0...tools-v2.5.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pbf_font_tools&package-manager=cargo&previous-version=2.5.0&new-version=2.5.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 05:59:51 +03:00
pbf_font_tools = { version = "2.5.1", features = ["freetype"] }
pmtiles = { version = "0.11", features = ["http-async", "mmap-async-tokio", "tilejson", "reqwest-rustls-tls-native-roots"] }
postgis = "0.9"
postgres = { version = "0.19", features = ["with-time-0_3", "with-uuid-1", "with-serde_json-1"] }
postgres-protocol = "0.6"
2023-12-27 21:50:07 +03:00
pprof = { version = "0.13", features = ["flamegraph", "criterion"] }
pretty_assertions = "1"
regex = "1"
rstest = "0.23"
chore(deps): Bump rustls from 0.23.14 to 0.23.15 (#1540) Bumps [rustls](https://github.com/rustls/rustls) from 0.23.14 to 0.23.15. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rustls/rustls/commit/3099020a2239729f2e2bd99a09f870dc2f4a57bc"><code>3099020</code></a> Prepare 0.23.15</li> <li><a href="https://github.com/rustls/rustls/commit/9a19b599e3f91b24e48303a3b9af7e09b9937041"><code>9a19b59</code></a> Take pki-types 1.10</li> <li><a href="https://github.com/rustls/rustls/commit/d58f86d3fdfe207919263abbe70cbb9ecdad978d"><code>d58f86d</code></a> bench-measure.mk: rebuild bench each time</li> <li><a href="https://github.com/rustls/rustls/commit/e653618266373818447184c2f1dff418c397b43c"><code>e653618</code></a> bench: decrease bench allocator traffic</li> <li><a href="https://github.com/rustls/rustls/commit/494f4dacb6f930a13248f79dd5281a0cc54d9c8a"><code>494f4da</code></a> Use re-exported pki-types everywhere</li> <li><a href="https://github.com/rustls/rustls/commit/0254d003c3e998fde35351e42e3740f0550f59dc"><code>0254d00</code></a> clippy: needless_lifetimes fixes</li> <li><a href="https://github.com/rustls/rustls/commit/25f1e4f42eefc57eb63928e4a21971356083047f"><code>25f1e4f</code></a> outbound: replace manual arithmetic check</li> <li><a href="https://github.com/rustls/rustls/commit/51e783a033964da3c636cefb51d336d7d69fd23d"><code>51e783a</code></a> clippy: address nightly empty_line_after_doc_comments</li> <li><a href="https://github.com/rustls/rustls/commit/422a0c5e671e4f013c424557ea4866a3f541d120"><code>422a0c5</code></a> manual: include mention of client-side ECH</li> <li><a href="https://github.com/rustls/rustls/commit/aaeff17fefd023d6dd74dd9131d177bc52697889"><code>aaeff17</code></a> docs: update cpu project time allotment</li> <li>Additional commits viewable in <a href="https://github.com/rustls/rustls/compare/v/0.23.14...v/0.23.15">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rustls&package-manager=cargo&previous-version=0.23.14&new-version=0.23.15)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-17 05:51:32 +03:00
rustls = "0.23.15"
# ring feature does not require NASM windows executable, but works slower
#rustls = { version = "0.23", default-features = false, features = ["logging", "std", "tls12", "ring"] }
2024-09-12 01:46:48 +03:00
rustls-native-certs = "0.8"
rustls-pemfile = "2"
semver = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_with = "3"
serde_yaml = "0.9"
size_format = "1.0.2"
2023-12-07 10:20:32 +03:00
spreet = { version = "0.11", default-features = false }
chore(deps): Bump sqlite-compressions from 0.2.14 to 0.2.15 (#1528) Bumps [sqlite-compressions](https://github.com/nyurik/sqlite-compressions) from 0.2.14 to 0.2.15. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nyurik/sqlite-compressions/commit/90f3056c0ac83d9c3b67a0f377452c3e14cd474b"><code>90f3056</code></a> improve test script</li> <li><a href="https://github.com/nyurik/sqlite-compressions/commit/601b814895b878b99f63f55df274177a2f1258e1"><code>601b814</code></a> update dependencies, readme</li> <li><a href="https://github.com/nyurik/sqlite-compressions/commit/98211e2134d036802514fa767032bec7fac87556"><code>98211e2</code></a> Bump flate2 from 1.0.33 to 1.0.34 (<a href="https://redirect.github.com/nyurik/sqlite-compressions/issues/47">#47</a>)</li> <li><a href="https://github.com/nyurik/sqlite-compressions/commit/629ce6448ec7eed5cd86d6a904a27c0d6dffaaa5"><code>629ce64</code></a> minor lint</li> <li><a href="https://github.com/nyurik/sqlite-compressions/commit/9c0e1ce5042a7a55cb31361508e07e842cacfa1d"><code>9c0e1ce</code></a> Bump flate2 from 1.0.32 to 1.0.33 (<a href="https://redirect.github.com/nyurik/sqlite-compressions/issues/45">#45</a>)</li> <li><a href="https://github.com/nyurik/sqlite-compressions/commit/bbcf3e5becfc8d854bab91a1050a6dc6ff0f9da1"><code>bbcf3e5</code></a> Bump rstest from 0.21.0 to 0.22.0 (<a href="https://redirect.github.com/nyurik/sqlite-compressions/issues/42">#42</a>)</li> <li><a href="https://github.com/nyurik/sqlite-compressions/commit/041233e4374f58975f9fd32e814484bb51a6927c"><code>041233e</code></a> Bump flate2 from 1.0.31 to 1.0.32 (<a href="https://redirect.github.com/nyurik/sqlite-compressions/issues/44">#44</a>)</li> <li><a href="https://github.com/nyurik/sqlite-compressions/commit/72cbfc13b6d657762a8a9d643cfd524dc54b782c"><code>72cbfc1</code></a> Bump flate2 from 1.0.30 to 1.0.31 (<a href="https://redirect.github.com/nyurik/sqlite-compressions/issues/43">#43</a>)</li> <li><a href="https://github.com/nyurik/sqlite-compressions/commit/fbc98a7d7a51402b59d7c34be0ba3b4eadbc779a"><code>fbc98a7</code></a> Bump rusqlite from 0.32.0 to 0.32.1 (<a href="https://redirect.github.com/nyurik/sqlite-compressions/issues/41">#41</a>)</li> <li><a href="https://github.com/nyurik/sqlite-compressions/commit/47636db36b629e79be7472301b598c35f72b14b1"><code>47636db</code></a> Bump env_logger from 0.11.4 to 0.11.5 (<a href="https://redirect.github.com/nyurik/sqlite-compressions/issues/40">#40</a>)</li> <li>See full diff in <a href="https://github.com/nyurik/sqlite-compressions/compare/v0.2.14...v0.2.15">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sqlite-compressions&package-manager=cargo&previous-version=0.2.14&new-version=0.2.15)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 07:05:17 +03:00
sqlite-compressions = { version = "0.2.15", default-features = false, features = ["bsdiffraw", "gzip"] }
chore(deps): Bump sqlite-hashes from 0.7.5 to 0.7.6 (#1527) Bumps [sqlite-hashes](https://github.com/nyurik/sqlite-hashes) from 0.7.5 to 0.7.6. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nyurik/sqlite-hashes/commit/d78571c4e429551cce0715745be4cef7ca7d5719"><code>d78571c</code></a> improve test script</li> <li><a href="https://github.com/nyurik/sqlite-hashes/commit/d668070666c3a03ebe78e95b72c432cd1fe96e63"><code>d668070</code></a> fix ext test file</li> <li><a href="https://github.com/nyurik/sqlite-hashes/commit/f91894c1255a6123c2bf2c37a0d1e3b00d4d071f"><code>f91894c</code></a> Bump dependencies, better gitignore</li> <li><a href="https://github.com/nyurik/sqlite-hashes/commit/95cf137a0fbc155fed19e254e6dc55e548bb54b1"><code>95cf137</code></a> Bump rusqlite from 0.32.0 to 0.32.1 (<a href="https://redirect.github.com/nyurik/sqlite-hashes/issues/40">#40</a>)</li> <li><a href="https://github.com/nyurik/sqlite-hashes/commit/b68600a26a87c1ef4149d9bf017f6b7b5eb6c281"><code>b68600a</code></a> Bump env_logger from 0.11.4 to 0.11.5 (<a href="https://redirect.github.com/nyurik/sqlite-hashes/issues/39">#39</a>)</li> <li>See full diff in <a href="https://github.com/nyurik/sqlite-hashes/compare/v0.7.5...v0.7.6">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sqlite-hashes&package-manager=cargo&previous-version=0.7.5&new-version=0.7.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 06:15:03 +03:00
sqlite-hashes = { version = "0.7.6", default-features = false, features = ["md5", "aggregate", "hex"] }
sqlx = { version = "0.7", features = ["sqlite", "runtime-tokio"] }
static-files = "0.2"
2023-09-06 07:30:40 +03:00
subst = { version = "0.3", features = ["yaml"] }
testcontainers-modules = { version = "0.11.3", features = ["postgres"] }
thiserror = "1"
2024-05-25 08:17:26 +03:00
tile-grid = "0.6"
tilejson = "0.4"
2023-11-10 06:28:15 +03:00
tokio = { version = "1", features = ["macros"] }
2024-10-20 01:28:53 +03:00
tokio-postgres-rustls = "0.13"
url = "2.5"
xxhash-rust = { version = "0.8", features = ["xxh3"] }
[profile.dev.package]
# See https://github.com/launchbadge/sqlx#compile-time-verification
sqlx-macros.opt-level = 3
# See https://docs.rs/insta/latest/insta/#optional-faster-runs
insta.opt-level = 3
similar.opt-level = 3
2023-12-19 04:24:43 +03:00
#[patch.crates-io]
#enum-display = { path = "../enum-display" }
#pmtiles = { path = "../pmtiles-rs" }
#sqlite-hashes = { path = "../sqlite-hashes" }
#tilejson = { path = "../tilejson" }
#pmtiles = { git = "https://github.com/nyurik/pmtiles-rs", branch = "override" }
#tilejson = { git = "https://github.com/nyurik/tilejson", branch = "btreemap" }
[profile.release]
# Make release binaries a bit smaller
lto = true
codegen-units = 1