martin/Cargo.toml

114 lines
3.7 KiB
TOML
Raw Permalink 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.19 to 0.23.20 (#1618) Bumps [rustls](https://github.com/rustls/rustls) from 0.23.19 to 0.23.20. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rustls/rustls/commit/b4628c7b6123831eea97c0fcb1a1475e40f5c345"><code>b4628c7</code></a> rustls-post-quantum: revert version to 0.2.0</li> <li><a href="https://github.com/rustls/rustls/commit/24d08f3ad5e5f5157bd25e3def84fa188a525259"><code>24d08f3</code></a> rustls-post-quantum: adjust head doc</li> <li><a href="https://github.com/rustls/rustls/commit/179592f2499a48ff66dc291a1b9ce190344ac477"><code>179592f</code></a> verifybench.rs: nightly fmt</li> <li><a href="https://github.com/rustls/rustls/commit/ef3fc2197387ccf2d163a2fd5ab5dcc7b92a30ea"><code>ef3fc21</code></a> nit: remove trailing space from doc comments</li> <li><a href="https://github.com/rustls/rustls/commit/00a3ddb948e42012d58e81fcf65625b1391a6bea"><code>00a3ddb</code></a> fix rustls-provider-example hpke no-std support</li> <li><a href="https://github.com/rustls/rustls/commit/2f74c3d3d0e195bceea2100d90c6b3fa876aafe5"><code>2f74c3d</code></a> server: remove ClientHello constructor</li> <li><a href="https://github.com/rustls/rustls/commit/3ba5167630c410782b2bf2625093dcd48d838883"><code>3ba5167</code></a> ci: adjust ech-client daily tests</li> <li><a href="https://github.com/rustls/rustls/commit/f5aeb39cd95d86223c8c8d8c006311e0da36b4cf"><code>f5aeb39</code></a> examples: use inner hostname in HTTPS DNS query</li> <li><a href="https://github.com/rustls/rustls/commit/e232bcae61cb1e108960673d828ac9d05224c881"><code>e232bca</code></a> openssl-tests: install openssl from source</li> <li><a href="https://github.com/rustls/rustls/commit/43cbebb80de6c825284479f06ccbf5fdb0ad1b64"><code>43cbebb</code></a> unbuffered: add regression tests for fragmented handshakes</li> <li>Additional commits viewable in <a href="https://github.com/rustls/rustls/compare/v/0.23.19...v/0.23.20">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.19&new-version=0.23.20)](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-12-16 06:51:53 +03:00
rustls = "0.23.20"
# 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.15 to 0.2.16 (#1547) Bumps [sqlite-compressions](https://github.com/nyurik/sqlite-compressions) from 0.2.15 to 0.2.16. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nyurik/sqlite-compressions/commit/ab58585c0aeb31f84cf5e351c897aa82b2079ff8"><code>ab58585</code></a> Update deps, later brotli</li> <li>See full diff in <a href="https://github.com/nyurik/sqlite-compressions/compare/v0.2.15...v0.2.16">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.15&new-version=0.2.16)](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-22 06:10:54 +03:00
sqlite-compressions = { version = "0.2.16", 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"] }
chore(deps): Bump testcontainers-modules from 0.11.3 to 0.11.4 (#1575) Bumps [testcontainers-modules](https://github.com/testcontainers/testcontainers-rs-modules-community) from 0.11.3 to 0.11.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/testcontainers/testcontainers-rs-modules-community/releases">testcontainers-modules's releases</a>.</em></p> <blockquote> <h2>v0.11.4</h2> <h3>Features</h3> <ul> <li>Add Gitea module (<a href="https://redirect.github.com/testcontainers/testcontainers-rs-modules-community/pull/238">#238</a>)</li> </ul> <h3>Miscellaneous Tasks</h3> <ul> <li>Update databend-driver requirement from 0.21.0 to 0.22.2 (<a href="https://redirect.github.com/testcontainers/testcontainers-rs-modules-community/pull/241">#241</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/testcontainers/testcontainers-rs-modules-community/blob/main/CHANGELOG.md">testcontainers-modules's changelog</a>.</em></p> <blockquote> <h2>[0.11.4] - 2024-11-12</h2> <h3>Features</h3> <ul> <li>Add Gitea module (<a href="https://redirect.github.com/testcontainers/testcontainers-rs-modules-community/pull/238">#238</a>)</li> </ul> <h3>Miscellaneous Tasks</h3> <ul> <li>Update databend-driver requirement from 0.21.0 to 0.22.2 (<a href="https://redirect.github.com/testcontainers/testcontainers-rs-modules-community/pull/241">#241</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/testcontainers/testcontainers-rs-modules-community/commit/d428073f343fb07e5d4b52418e72b2d02fe1ece7"><code>d428073</code></a> chore: release v0.11.4 (<a href="https://redirect.github.com/testcontainers/testcontainers-rs-modules-community/issues/242">#242</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-rs-modules-community/commit/a481c9eb3ede2619f675b4c875d5ad758c6f4662"><code>a481c9e</code></a> chore(deps): update databend-driver requirement from 0.21.0 to 0.22.2 (<a href="https://redirect.github.com/testcontainers/testcontainers-rs-modules-community/issues/241">#241</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-rs-modules-community/commit/f7999ebec67f78850d757e231202d3e88ac4f853"><code>f7999eb</code></a> feat: add Gitea module (<a href="https://redirect.github.com/testcontainers/testcontainers-rs-modules-community/issues/238">#238</a>)</li> <li>See full diff in <a href="https://github.com/testcontainers/testcontainers-rs-modules-community/compare/v0.11.3...v0.11.4">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=testcontainers-modules&package-manager=cargo&previous-version=0.11.3&new-version=0.11.4)](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-11-12 06:16:48 +03:00
testcontainers-modules = { version = "0.11.4", features = ["postgres"] }
thiserror = "2"
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