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"
2024-04-15 05:59:02 +03:00
brotli = "5.0.0"
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"
2023-11-16 02:25:31 +03:00
itertools = "0.12"
2023-10-10 09:41:56 +03:00
json-patch = "1.2"
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.9", 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.19"
chore(deps): Bump rustls from 0.23.4 to 0.23.5 (#1312) Bumps [rustls](https://github.com/rustls/rustls) from 0.23.4 to 0.23.5. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rustls/rustls/commit/14cb5d2eac709f6c9bd46c697f090bb1f1543db1"><code>14cb5d2</code></a> Prepare 0.23.5</li> <li><a href="https://github.com/rustls/rustls/commit/6e938bcfe82a9da7a2e1cbf10b928c7eca26426e"><code>6e938bc</code></a> complete_io: bail out if progress is impossible</li> <li><a href="https://github.com/rustls/rustls/commit/2123576840aa31043a31b0770e6572136fbe0c2d"><code>2123576</code></a> Regression test for <code>complete_io</code> infinite loop bug</li> <li><a href="https://github.com/rustls/rustls/commit/f45664fbded03d833dffd806503d3c8becd1b71e"><code>f45664f</code></a> Don't specially handle unauthenticated close_notify alerts</li> <li><a href="https://github.com/rustls/rustls/commit/1f5146cdfa9198ba75534a86243d3c4e1a94ca61"><code>1f5146c</code></a> docs: update SECURITY example</li> <li><a href="https://github.com/rustls/rustls/commit/5ea02ed56fdba5cf5195d01476e8ce8fd80f1d77"><code>5ea02ed</code></a> Return <code>Option</code> from <code>handshake_kind()</code></li> <li><a href="https://github.com/rustls/rustls/commit/d2e1e668aae3d9807ffa782ea29ed26f2778371d"><code>d2e1e66</code></a> bogo: verify expected handshake kind</li> <li><a href="https://github.com/rustls/rustls/commit/d8a2ae040c697cc90e9c6581ac84ed7394382b0b"><code>d8a2ae0</code></a> Add API exposing shape of the performed handshake</li> <li><a href="https://github.com/rustls/rustls/commit/740ca417738cdcf6e50e24837e8e085777fe3c5c"><code>740ca41</code></a> tests/api.rs: reformat</li> <li><a href="https://github.com/rustls/rustls/commit/5ed2c9739d0a4f2dc5cf70fbd3ab0e213a753b01"><code>5ed2c97</code></a> deps: update cargo semver compatible deps</li> <li>Additional commits viewable in <a href="https://github.com/rustls/rustls/compare/v/0.23.4...v/0.23.5">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.4&new-version=0.23.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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/maplibre/martin/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19 23:20:11 +03:00
rustls = "0.23.5"
# 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 }
sqlite-hashes = { version = "0.7.1", 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"
tile-grid = "0.5"
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" }