forked from kartevonmorgen/openfairdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
87 lines (79 loc) · 2.12 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
[package]
name = "openfairdb"
version = "0.9.3"
authors = ["Markus Kohlhase <[email protected]>", "slowtec GmbH <[email protected]>"]
keywords = ["geo", "fair", "sustainability"]
homepage = "https://github.com/kartevonmorgen/openfairdb"
repository = "https://github.com/kartevonmorgen/openfairdb"
license = "AGPL-3.0-or-later"
edition = "2018"
[patch.crates-io]
ofdb-boundary = { path = "ofdb-boundary" }
ofdb-core = { path = "ofdb-core" }
ofdb-entities = { path = "ofdb-entities" }
ofdb-gateways = { path = "ofdb-gateways" }
captcha = { git = "https://github.com/kartevonmorgen/captcha", branch = "updates" }
[workspace]
members = [
"ofdb-boundary",
"ofdb-core",
"ofdb-entities",
"ofdb-gateways",
]
exclude = [ "ofdb-app-clearance" ]
[dependencies]
anyhow = "*"
base64 = { version = "*", optional = true }
captcha = "*"
chrono = "*"
# clap 3 is supposed to introduce breaking changes
clap = "2"
csv = "*"
diesel = { version = "*", features = ["sqlite", "r2d2", "chrono"] }
diesel_migrations = { version = "*", features = ["sqlite"] }
dotenv = "*"
env_logger = "*"
# failure is only required for TantivyError
failure = "*"
fast_chemail = "*"
jsonwebtoken = { version = "*", optional = true }
lazy_static = "*"
log = "*"
num-traits = "*"
maud = { version = "*", optional = true, features = ["rocket"] }
ofdb-boundary = "*"
ofdb-core = "*"
ofdb-entities = { version = "*", features = ["rusturl"] }
ofdb-gateways = "*"
owning_ref = "*"
passwords = "*"
pwhash = "*"
rand = { version = "*", optional = true }
regex = "*"
rocket = "*"
rocket_contrib = "*"
rocket_cors = "*"
serde = { version = "*", features = ["derive"] }
serde_json = "*"
strum = "*"
tantivy = "*"
time = "0.1"
thiserror = "1"
uuid = { version = "*", features = ["v4"] }
[dev-dependencies]
rand = "*"
ofdb-boundary = { version = "*", features = ["extra-derive"] }
ofdb-entities = { version = "*", features = ["builders"] }
[build-dependencies]
walkdir = "2"
[features]
default = ["frontend", "email", "clearance", "cookies", "jwt"]
clearance = []
cookies = []
email = []
frontend = ["maud"]
jwt = ["jsonwebtoken", "base64", "rand"]
[profile.release]
lto = true
opt-level = 3
codegen-units = 1