forked from Qwant/mimirsbrunn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
157 lines (134 loc) · 3.43 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
[package]
name = "mimirsbrunn"
version = "2.10.0"
authors = ["Hove", "Qwant"]
build = "build.rs"
autotests = false
edition = "2021"
description = "Set of tools for geocoding with Elasticsearch"
license = "AGPLv3"
repository = "https://github.com/hove-io/mimirsbrunn.git"
keywords = [ "mimirsbrunn", "elasticsearch", "geocoding" ]
categories = [ "application" ]
readme = "README.md"
[workspace]
members = [
"libs/mimir",
"libs/places",
"libs/common",
"libs/tests",
]
[features]
db-storage = [ "bincode", "rusqlite" ]
[dependencies]
address-formatter = "0.2"
anyhow = "1.0"
async-compression = { version = "0.3.8", features = [ "gzip", "tokio" ] }
bincode = { version = "1.3", optional = true }
chrono = "0.4"
chrono-tz = "0.6"
clap = { version = "3", features = ["derive"] }
config = { version = "0.11", default_features = false, features = ["json", "toml"] }
cosmogony = "0.12.2"
csv = "1.1"
csv-async = {version = "1.2", features = ["tokio", "with_serde"]}
futures = "0.3"
geo = "0.18"
geo-types = { version = "0.7", features = [ "rstar" ] }
http = "0.2"
human-sort = "0.2"
itertools = "0.10"
lazy_static = "1.4"
log = { version = "0.4", features = ["release_max_level_debug"] }
navitia-poi-model = "0.5"
num_cpus = "1.13"
osm_boundaries_utils = "0.10"
osmpbfreader = "0.15"
par-map = "0.1.4"
regex = "1"
rstar = "0.8"
rusqlite = { version = "0.26", optional = true }
serde_json = "1"
serde = {version = "1", features = ["rc"]}
snafu = { version = "0.7", features = [ "futures" ] }
tokio = { version = "1.14.0", features = [ "sync", "rt", "rt-multi-thread", "macros", "process" ] }
tokio-stream = { version = "0.1.8", features = [ "fs" ] }
toml = "0.5"
tracing = "0.1.26"
tracing-appender = "0.2"
tracing-futures = { version = "0.2.5", features = [ "futures-03" ] }
tracing-log = "0.1"
tracing-subscriber = { version = "0.3", features = [ "env-filter" ] }
transit_model = "0.43"
typed_index_collection = "2.0"
walkdir = "2.3"
warp = { version = "0.3.1" }
common = { path = "libs/common" }
mimir = { path = "libs/mimir" }
places = { path = "libs/places" }
[lib]
name = "mimirsbrunn"
path = "src/lib.rs"
[dev-dependencies]
async-trait = "0.1.50"
url = { version = "2.2.2", features = [ "serde" ] }
approx = "0.5"
criterion = "0.3"
cucumber = "0.10"
elasticsearch = "7.14.0-alpha.1"
reqwest = { version = "0.11", features = [ "blocking", "json" ] }
serial_test = "0.5.1"
tests = { path = "libs/tests" }
zip = { version = "0.5.13", default_features = false }
[build-dependencies]
json = "0.12"
[profile.production]
inherits = "release"
lto = "fat"
codegen-units = 1
strip = "debuginfo"
[[bin]]
name = "bragi"
path = "src/bragi/main.rs"
[[bin]]
name = "bano2mimir"
path = "src/bin/bano2mimir.rs"
[[bin]]
name = "cosmogony2mimir"
path = "src/bin/cosmogony2mimir.rs"
[[bin]]
name = "ctlmimir"
path = "src/bin/ctlmimir.rs"
[[bin]]
name = "ntfs2mimir"
path = "src/bin/ntfs2mimir.rs"
[[bin]]
name = "openaddresses2mimir"
path = "src/bin/openaddresses2mimir.rs"
[[bin]]
name = "osm2mimir"
path = "src/bin/osm2mimir.rs"
[[bin]]
name = "poi2mimir"
path = "src/bin/poi2mimir.rs"
[[bin]]
name = "query"
path = "src/bin/query.rs"
[[test]]
name = "end_to_end"
harness = false # Allows Cucumber to print output instead of libtest
[[test]]
name = "idf"
harness = false # Allows Cucumber to print output instead of libtest
test = false
[profile.bench]
lto = true
[[bench]]
name = "listing"
harness = false
[[bench]]
name = "indexing"
harness = false
[[bench]]
name = "searching"
harness = false