-
Notifications
You must be signed in to change notification settings - Fork 18
/
Cargo.toml
95 lines (82 loc) · 2.37 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
[package]
name = "openfairdb"
version.workspace = true
edition.workspace = true
[workspace.package]
version = "0.12.10"
repository = "https://github.com/kartevonmorgen/openfairdb"
homepage = "https://github.com/kartevonmorgen/openfairdb"
keywords = ["geo", "fair", "sustainability"]
authors = ["slowtec GmbH <[email protected]>"]
license = "AGPL-3.0-or-later"
edition = "2021"
rust-version = "1.79.0"
[workspace]
members = [
"ofdb-application",
"ofdb-boundary",
"ofdb-core",
"ofdb-db-sqlite",
"ofdb-db-tantivy",
"ofdb-entities",
"ofdb-frontend-api",
"ofdb-gateways",
"ofdb-webserver",
]
exclude = [ "ofdb-frontend", "ofdb-app-clearance" ]
[patch.crates-io]
ofdb-application = { path = "./ofdb-application" }
ofdb-boundary = { path = "./ofdb-boundary" }
ofdb-core = { path = "./ofdb-core" }
ofdb-db-sqlite = { path = "./ofdb-db-sqlite" }
ofdb-db-tantivy = { path = "./ofdb-db-tantivy" }
ofdb-entities = { path = "./ofdb-entities" }
ofdb-frontend-api = { path = "./ofdb-frontend-api" }
ofdb-gateways = { path = "./ofdb-gateways" }
ofdb-webserver = { path = "./ofdb-webserver" }
[dependencies]
ofdb-application = "=0.0.0"
ofdb-core = "=0.0.0"
ofdb-db-sqlite = "=0.0.0"
ofdb-db-tantivy = "=0.0.0"
ofdb-frontend-api = "=0.0.0"
ofdb-gateways = "=0.0.0"
ofdb-webserver = "=0.0.0"
ofdb-entities = "*"
anyhow = "1.0.91"
clap = { version = "4.5.20", features = ["cargo", "derive"] }
dotenvy = "0.15.7"
duration-str = { version = "0.7.1", default-features = false, features = ["serde"] }
env_logger = "0.11.5"
log = "0.4.22"
serde = { version = "1.0.213", features = ["derive"] }
thiserror = "1.0.65"
time = "0.3.36"
tokio = "1.41.0"
toml = "0.8.19"
[patch.crates-io.geocoding]
# TODO: use upstream as soon as https://github.com/georust/geocoding/pull/58 is merged.
git = "https://github.com/slowtec/geocoding"
branch = "remove-reqwest-default-tls-feature"
[dev-dependencies]
rand = "0.8.5"
ofdb-entities = { version = "*", features = ["builders"] }
[profile.dev]
opt-level = 2
split-debuginfo = "unpacked"
[profile.test]
inherits = "dev"
[profile.release]
opt-level = 3
lto = "thin"
strip = "debuginfo"
[profile.profiling]
inherits = "release"
# Keep debug symbols for profiling -> results in huge binary!
debug = true
[profile.production]
inherits = "release"
lto = true
codegen-units = 1
strip = true
panic = "abort"