martin/Cargo.toml

102 lines
3.4 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.74"
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]
actix-cors = "0.6"
actix-http = "3"
actix-rt = "2"
actix-web = "4"
anyhow = "1.0"
approx = "0.5.1"
async-trait = "0.1"
bit-set = "0.5.3"
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"
2023-12-16 02:38:49 +03:00
deadpool-postgres = "0.12"
enum-display = "0.1"
2024-01-21 03:52:09 +03:00
env_logger = "0.11"
flate2 = "1"
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.4.0" }
mbtiles = { path = "./mbtiles", version = "0.9.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-05-30 21:34:53 +03:00
rstest = "0.20"
chore(deps): Bump rustls from 0.23.8 to 0.23.9 (#1360) Bumps [rustls](https://github.com/rustls/rustls) from 0.23.8 to 0.23.9. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rustls/rustls/commit/e754234b64d7724769c458b085a59a4f8ea782e2"><code>e754234</code></a> Prepare 0.23.9</li> <li><a href="https://github.com/rustls/rustls/commit/590716e478374ad8c268d5ad7ad9964ea9117bdc"><code>590716e</code></a> Fix unstable fmt job</li> <li><a href="https://github.com/rustls/rustls/commit/de851b4601e0b34cd8a9ce443278982292f30baa"><code>de851b4</code></a> unbuffered examples: avoid clippy lint</li> <li><a href="https://github.com/rustls/rustls/commit/5faa88c65b3f54324b3c6912dfc1384003639f95"><code>5faa88c</code></a> hs.rs: refactor to eliminate conditional allow()</li> <li><a href="https://github.com/rustls/rustls/commit/503d42bd5ffb62a0d8a98ae7a65ec41d112481c5"><code>503d42b</code></a> Tidy away unneeded #[allow()]s</li> <li><a href="https://github.com/rustls/rustls/commit/0c85c0199f479e71c8c4811684fd8de779fb8c21"><code>0c85c01</code></a> Add issue number for server-side ECH in the roadmap.</li> <li><a href="https://github.com/rustls/rustls/commit/bacc19c9f04901e9d40f005e5c403a052bfdf17f"><code>bacc19c</code></a> General roadmap updates.</li> <li><a href="https://github.com/rustls/rustls/commit/4bd989c7ef7fc1bcced1c4c5e3e180340f1e79a3"><code>4bd989c</code></a> handshake_test: reorder items in file</li> <li><a href="https://github.com/rustls/rustls/commit/1aba137522cf696b3821734a8380bf32cd69c0fd"><code>1aba137</code></a> handshake_test: clarify cloning tests</li> <li><a href="https://github.com/rustls/rustls/commit/d202e0d581cfc9e332fb293fec264f4dde6b90dc"><code>d202e0d</code></a> handshake_test: remove get_ function prefices</li> <li>Additional commits viewable in <a href="https://github.com/rustls/rustls/compare/v/0.23.8...v/0.23.9">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.8&new-version=0.23.9)](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-06-04 05:52:36 +03:00
rustls = "0.23.9"
# 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-hashes from 0.7.1 to 0.7.2 (#1361) Bumps [sqlite-hashes](https://github.com/nyurik/sqlite-hashes) from 0.7.1 to 0.7.2. <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.2</h2> <h2>What's Changed</h2> <ul> <li>Improve CI, bump dependencies by <a href="https://github.com/nyurik"><code>@​nyurik</code></a> in <a href="https://redirect.github.com/nyurik/sqlite-hashes/pull/33">nyurik/sqlite-hashes#33</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/nyurik/sqlite-hashes/compare/v0.7.1...v0.7.2">https://github.com/nyurik/sqlite-hashes/compare/v0.7.1...v0.7.2</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nyurik/sqlite-hashes/commit/8618df28eb75acc7ea26583e839f46a6b5beeab0"><code>8618df2</code></a> Improve CI, bump deps (<a href="https://redirect.github.com/nyurik/sqlite-hashes/issues/33">#33</a>)</li> <li><a href="https://github.com/nyurik/sqlite-hashes/commit/65827a9982e07ff2a7f2d262bff58a0477dc6fbb"><code>65827a9</code></a> Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 (<a href="https://redirect.github.com/nyurik/sqlite-hashes/issues/30">#30</a>)</li> <li><a href="https://github.com/nyurik/sqlite-hashes/commit/23d1835acc6522d34505be9944843aae1af46db2"><code>23d1835</code></a> bump deps, CI fix</li> <li><a href="https://github.com/nyurik/sqlite-hashes/commit/17e56bd4477a57f79aeb663cae8b5d6a74889ebf"><code>17e56bd</code></a> Bump ctor from 0.2.7 to 0.2.8 (<a href="https://redirect.github.com/nyurik/sqlite-hashes/issues/29">#29</a>)</li> <li><a href="https://github.com/nyurik/sqlite-hashes/commit/daba0a9c4b992ddebce11307cdfe91d62affbea2"><code>daba0a9</code></a> Bump insta from 1.37.0 to 1.38.0 (<a href="https://redirect.github.com/nyurik/sqlite-hashes/issues/28">#28</a>)</li> <li><a href="https://github.com/nyurik/sqlite-hashes/commit/81f47cf27a291411a773ea0bc2c353b456f34734"><code>81f47cf</code></a> Bump insta from 1.36.1 to 1.37.0 (<a href="https://redirect.github.com/nyurik/sqlite-hashes/issues/27">#27</a>)</li> <li><a href="https://github.com/nyurik/sqlite-hashes/commit/06869241622c9ceb8e18515349f906355475177c"><code>0686924</code></a> Bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 (<a href="https://redirect.github.com/nyurik/sqlite-hashes/issues/26">#26</a>)</li> <li>See full diff in <a href="https://github.com/nyurik/sqlite-hashes/compare/v0.7.1...v0.7.2">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.1&new-version=0.7.2)](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-06-04 05:41:09 +03:00
sqlite-hashes = { version = "0.7.2", default-features = false, features = ["md5", "aggregate", "hex"] }
sqlx = { version = "0.7", features = ["sqlite", "runtime-tokio"] }
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"
[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" }