martin/Cargo.toml
Yuri Astrakhan b8ac719be8
Rework and consolidate CI (#467)
Rework CI to run tests locally using the VM-installed Postgres on all
target platforms.

### CI jobs
* Build release versions on Linux/Win/Mac and save build results as
output artifacts
* In a separate VMs (Linux/Win/Mac)
* use
[nyurik/action-setup-postgis](https://github.com/nyurik/action-setup-postgis)
to install postgis and run tests using the built artifacts
  * run `cargo test` on Linux only
* copy built artifacts from the build step, and run tests using the
release martin binary
  * package and publish if this is a release

### Other changes
* Port some minor changes from the rewrite to porting easier
* minor cleanups
* remove all "expected" data files - too unstable to be usable
2022-10-31 16:28:21 -04:00

61 lines
1.4 KiB
TOML

[package]
name = "martin"
version = "0.6.0-rc.1"
edition = "2021"
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"
license = "MIT OR Apache-2.0"
[lib]
name = "martin"
path = "src/lib.rs"
[[bin]]
name = "martin"
path = "src/bin/main.rs"
[features]
vendored-openssl = ['openssl/vendored']
[dependencies]
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"
clap = { version = "4", features = ["derive"] }
env_logger = "0.9"
itertools = "0.10"
log = "0.4"
num_cpus = "1"
openssl = "0.10"
postgis = "0.9"
postgres = { version = "0.19", features = ["with-time-0_3", "with-uuid-1", "with-serde_json-1"] }
postgres-openssl = "0.5"
postgres-protocol = "0.6"
semver = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
tilejson = "0.3"
[dev-dependencies]
indoc = "1"
[dev-dependencies.criterion]
version = "0.4.0"
features = ["async_futures", "async_tokio", "html_reports"]
[dev-dependencies.cargo-husky]
version = "1"
default-features = false
features = ["run-for-all", "prepush-hook", "run-cargo-fmt", "run-cargo-clippy", "run-cargo-test"]
[[bench]]
name = "sources"
harness = false