2017-09-30 13:55:44 +03:00
|
|
|
[package]
|
2018-01-16 15:55:05 +03:00
|
|
|
name = "martin"
|
2022-11-19 19:20:01 +03:00
|
|
|
version = "0.6.0"
|
2022-05-27 14:03:48 +03:00
|
|
|
edition = "2021"
|
2022-10-07 20:58:30 +03:00
|
|
|
authors = ["Stepan Kuzmin <to.stepan.kuzmin@gmail.com>", "Yuri Astrakhan <YuriAstrakhan@gmail.com>", "MapLibre contributors"]
|
|
|
|
description = "Blazing fast and lightweight PostGIS vector tile server"
|
|
|
|
repository = "https://github.com/maplibre/martin"
|
2022-07-06 15:25:45 +03:00
|
|
|
license = "MIT OR Apache-2.0"
|
2019-10-26 20:37:49 +03:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "martin"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "martin"
|
|
|
|
path = "src/bin/main.rs"
|
2017-09-30 13:55:44 +03:00
|
|
|
|
2022-10-07 16:22:32 +03:00
|
|
|
[features]
|
2022-11-19 17:50:27 +03:00
|
|
|
ssl = ["openssl", "postgres-openssl"]
|
|
|
|
vendored-openssl = ["ssl", "openssl/vendored"]
|
2022-10-07 16:22:32 +03:00
|
|
|
|
2017-09-30 13:55:44 +03:00
|
|
|
[dependencies]
|
2022-08-15 16:54:48 +03:00
|
|
|
actix = "0.13"
|
|
|
|
actix-cors = "0.6"
|
|
|
|
actix-http = "3"
|
|
|
|
actix-rt = "2"
|
|
|
|
actix-web = "4"
|
|
|
|
async-trait = "0.1"
|
|
|
|
bb8 = "0.8"
|
|
|
|
bb8-postgres = "0.8"
|
2022-10-01 10:48:11 +03:00
|
|
|
clap = { version = "4", features = ["derive"] }
|
2021-07-16 16:08:46 +03:00
|
|
|
env_logger = "0.9"
|
|
|
|
itertools = "0.10"
|
2018-03-26 14:12:43 +03:00
|
|
|
log = "0.4"
|
2022-08-15 16:54:48 +03:00
|
|
|
num_cpus = "1"
|
2022-11-19 17:50:27 +03:00
|
|
|
openssl = { version = "0.10", optional = true }
|
2022-08-15 16:54:48 +03:00
|
|
|
postgis = "0.9"
|
2022-09-13 09:18:01 +03:00
|
|
|
postgres = { version = "0.19", features = ["with-time-0_3", "with-uuid-1", "with-serde_json-1"] }
|
2022-11-19 17:50:27 +03:00
|
|
|
postgres-openssl = { version = "0.5", optional = true }
|
2022-08-15 16:54:48 +03:00
|
|
|
postgres-protocol = "0.6"
|
|
|
|
semver = "1"
|
2022-10-31 23:28:21 +03:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2022-08-15 16:54:48 +03:00
|
|
|
serde_json = "1"
|
2022-07-29 12:20:49 +03:00
|
|
|
serde_yaml = "0.9"
|
2022-08-15 16:54:48 +03:00
|
|
|
tilejson = "0.3"
|
2019-10-26 20:37:49 +03:00
|
|
|
|
2022-10-05 22:12:44 +03:00
|
|
|
[dev-dependencies]
|
|
|
|
indoc = "1"
|
|
|
|
|
2021-07-23 11:04:34 +03:00
|
|
|
[dev-dependencies.criterion]
|
2022-09-13 01:42:06 +03:00
|
|
|
version = "0.4.0"
|
2021-07-23 11:04:34 +03:00
|
|
|
features = ["async_futures", "async_tokio", "html_reports"]
|
2019-10-26 20:37:49 +03:00
|
|
|
|
2020-06-02 09:49:21 +03:00
|
|
|
[dev-dependencies.cargo-husky]
|
|
|
|
version = "1"
|
|
|
|
default-features = false
|
|
|
|
features = ["run-for-all", "prepush-hook", "run-cargo-fmt", "run-cargo-clippy", "run-cargo-test"]
|
|
|
|
|
2019-10-26 20:37:49 +03:00
|
|
|
[[bench]]
|
2021-07-23 11:04:34 +03:00
|
|
|
name = "sources"
|
2020-04-26 17:57:13 +03:00
|
|
|
harness = false
|