-
Notifications
You must be signed in to change notification settings - Fork 69
/
Cargo.toml
71 lines (60 loc) · 1.71 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[package]
name = "t-rex"
version = "0.14.3"
description = "t-rex vector tile server"
repository = "https://github.com/t-rex-tileserver/t-rex"
readme = "README.md"
license = "MIT"
authors = ["Pirmin Kalberer <[email protected]>"]
edition = "2018"
[[bin]]
name = "t_rex"
path = "src/main.rs"
doctest = false
[dependencies]
t-rex-core = { path = "t-rex-core" }
t-rex-gdal = { path = "t-rex-gdal", optional = true }
t-rex-service = { path = "t-rex-service" }
t-rex-webserver = { path = "t-rex-webserver" }
tile-grid = "0.3.0"
clap = "2.33"
dotenv = "0.15"
log = "0.4"
env_logger = "0.8"
time = "0.1"
[features]
default = ["with-gdal"]
with-gdal = ["t-rex-gdal", "t-rex-service/with-gdal"]
[workspace]
[package.metadata.deb]
name = "t-rex"
maintainer = "Pirmin Kalberer <[email protected]>"
copyright = "2021, Pirmin Kalberer <[email protected]>"
license-file = ["LICENSE", "4"]
extended-description = """\
t-rex is a vector tile server specialized \
on publishing MVT tiles from your own data."""
section = "utility"
priority = "optional"
assets = [
["target/release/t_rex", "usr/bin/", "755"],
["README.md", "usr/share/doc/t-rex/README", "644"],
]
#depends = "$auto"
depends = "libssl3, libgdal30"
revision = "1~jammy"
[package.metadata.deb.variants.jammy]
# default: is Ubuntu Jammy Jellyfish 22.04 (LTS)
[package.metadata.deb.variants.bookworm]
depends = "libssl3, libgdal32"
revision = "1~bookworm"
[package.metadata.deb.variants.bullseye]
depends = "libssl1.1, libgdal28"
revision = "1~bullseye"
[package.metadata.rpm]
package = "t-rex"
config = "packaging/rpm/t-rex.spec"
[package.metadata.rpm.cargo]
buildflags = ["--release", "--no-default-features"]
[package.metadata.rpm.targets]
t_rex = { path = "/usr/bin/t_rex" }