martin/Cargo.toml

113 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, <7"
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"
json-patch = "2.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.10", 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"
2024-06-14 01:33:29 +03:00
rstest = "0.21"
chore(deps): Bump rustls from 0.23.11 to 0.23.12 (#1434) Bumps [rustls](https://github.com/rustls/rustls) from 0.23.11 to 0.23.12. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rustls/rustls/commit/ebda3856602f3af2ced19a792e6fed1d70c500e4"><code>ebda385</code></a> Update version to 0.23.12</li> <li><a href="https://github.com/rustls/rustls/commit/127a0a769ff5d8fd250170be1fd4e12b49928f8f"><code>127a0a7</code></a> build(deps): bump openssl from 0.10.64 to 0.10.66</li> <li><a href="https://github.com/rustls/rustls/commit/3cc2c2db8a2aef1d6bb59d614bdf70919fedb984"><code>3cc2c2d</code></a> Support P521 SHA-256/SHA-384 signatures with aws-lc-rs (<a href="https://redirect.github.com/rustls/rustls/issues/2050">#2050</a>)</li> <li><a href="https://github.com/rustls/rustls/commit/e58aaa8487fd4c0b8408ee2d9fe9ff31dfc47b54"><code>e58aaa8</code></a> ci: add rebaseWhen to renovate config</li> <li><a href="https://github.com/rustls/rustls/commit/dfc8ae597aec24bc159b116ee2d4272dc81e9407"><code>dfc8ae5</code></a> ci: remove stabilityDays from renovate config</li> <li><a href="https://github.com/rustls/rustls/commit/49c31cb91739c16cec52c49c99954764b1eba331"><code>49c31cb</code></a> chore(deps): lock file maintenance</li> <li><a href="https://github.com/rustls/rustls/commit/63eecac0a20c84263bd18faa90fe2ecf731de91f"><code>63eecac</code></a> chore(deps): update rust crate tikv-jemallocator to 0.6</li> <li>See full diff in <a href="https://github.com/rustls/rustls/compare/v/0.23.11...v/0.23.12">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.11&new-version=0.23.12)](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-07-24 05:49:01 +03:00
rustls = "0.23.12"
# ring feature does not require NASM windows executable, but works slower
#rustls = { version = "0.23", default-features = false, features = ["logging", "std", "tls12", "ring"] }
rustls-native-certs = "0.7"
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.13 to 0.2.14 (#1435) Bumps [sqlite-compressions](https://github.com/nyurik/sqlite-compressions) from 0.2.13 to 0.2.14. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/nyurik/sqlite-compressions/releases">sqlite-compressions's releases</a>.</em></p> <blockquote> <h2>v0.2.14</h2> <h2>What's Changed</h2> <ul> <li>Fix release pipeline</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/nyurik/sqlite-compressions/compare/v0.2.13...v0.2.14">https://github.com/nyurik/sqlite-compressions/compare/v0.2.13...v0.2.14</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nyurik/sqlite-compressions/commit/342ca4563f284683540f13528bc2db5c640d5fec"><code>342ca45</code></a> fix release ci, dep update</li> <li><a href="https://github.com/nyurik/sqlite-compressions/commit/74c36a82aba209aac7152917366137b725cbb5c9"><code>74c36a8</code></a> Bump env_logger from 0.11.3 to 0.11.4 (<a href="https://redirect.github.com/nyurik/sqlite-compressions/issues/39">#39</a>)</li> <li><a href="https://github.com/nyurik/sqlite-compressions/commit/089cc4e4dfc095e2d5336a1e0834221df2b235c6"><code>089cc4e</code></a> bump version</li> <li>See full diff in <a href="https://github.com/nyurik/sqlite-compressions/compare/v0.2.13...v0.2.14">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.13&new-version=0.2.14)](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-07-25 06:40:56 +03:00
sqlite-compressions = { version = "0.2.14", default-features = false, features = ["bsdiffraw", "gzip"] }
chore(deps): Bump sqlite-hashes from 0.7.4 to 0.7.5 (#1436) Bumps [sqlite-hashes](https://github.com/nyurik/sqlite-hashes) from 0.7.4 to 0.7.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/nyurik/sqlite-hashes/releases">sqlite-hashes's releases</a>.</em></p> <blockquote> <h2>v0.7.5</h2> <h2>What's Changed</h2> <ul> <li>Fix CI release process</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/nyurik/sqlite-hashes/compare/v0.7.3...v0.7.5">https://github.com/nyurik/sqlite-hashes/compare/v0.7.3...v0.7.5</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nyurik/sqlite-hashes/commit/271d4ff354345dadcf54cd2e5b34f88a692cab80"><code>271d4ff</code></a> improve published version check</li> <li><a href="https://github.com/nyurik/sqlite-hashes/commit/56434f0dea4e155ace0bf0378af53ff973c1f1d8"><code>56434f0</code></a> Bump env_logger from 0.11.3 to 0.11.4 (<a href="https://redirect.github.com/nyurik/sqlite-hashes/issues/38">#38</a>)</li> <li><a href="https://github.com/nyurik/sqlite-hashes/commit/c74129ea1b2e40f48d31bb4904b8aa4b52bf0300"><code>c74129e</code></a> bump version</li> <li>See full diff in <a href="https://github.com/nyurik/sqlite-hashes/compare/v0.7.4...v0.7.5">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.4&new-version=0.7.5)](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-07-25 06:18:29 +03:00
sqlite-hashes = { version = "0.7.5", 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"] }
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"] }
tokio-postgres-rustls = "0.12"
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