generated from simonsan/rust-template-generate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
178 lines (152 loc) · 4.14 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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
[package]
name = "transparencies-backend-rs"
version = "0.0.1"
authors = ["the transparencies authors"]
edition = "2018"
repository = "https://github.com/transparencies/transparencies-backend-rs"
documentation = ""
readme = "README.md"
license = "AGPL-3.0-or-later"
keywords = [""]
categories = [""]
description = """
A foundation for building dynamic stream overlays written in Rust
"""
[package.metadata.release]
upload-doc = true
pre-release-commit-message = "Release {{crate_name}} {{version}} / {{date}}"
[workspace]
members = [
"crates/api/aoe2net",
"crates/api_client",
]
[lib]
path = "src/lib.rs"
test = true
doctest = true
bench = true
doc = true
harness = true
edition = "2018"
[[bin]]
name = "transparencies-backend-rs"
path = "src/bin/transparencies-server.rs"
test = true
bench = true
doc = true
harness = true
edition = "2018"
#required-features = [] # Features required to build this target (N/A for lib).
[[example]]
name = "export-test-data"
path = "examples/export_test_data.rs"
test = true
bench = true
doc = true
harness = true
edition = "2018"
[[test]]
name = "full-integration"
path = "tests/matchinfo-integration/main.rs"
test = true
bench = true
doc = true
harness = true
edition = "2018"
# For benchmarks
#[[bench]]
[dependencies]
# APIs
aoe2net = { path = "crates/api/aoe2net", version = "*" }
# API client
api-client = { path = "crates/api_client", version = "*" }
# Error handling
#human-panic = "1.0.3"
eyre = "0.6.6"
stable-eyre = "0.2.2"
thiserror = "1.0.30"
displaydoc = "0.2.3"
# Tracing/Logging
tracing-log = "0.1.2"
tracing = "0.1.29"
tracing-subscriber = { version = "0.3.6", features = ["registry", "env-filter"] }
tracing-tree = "0.2.0"
tracing-futures = "0.2.5"
tracing-bunyan-formatter = "0.3.2"
tracing-error = "0.2.0"
# CLI
structopt = "0.3.26"
# Configuration
config = "0.11.0"
lazy_static = "1.4.0"
# config_struct = "0.5"
ron = "0.7.0"
# HTTP
reqwest = { version = "0.11.9", features = ["json", "rustls-tls"] }
warp = "0.3.2"
hyper = "0.14.16"
url = { version = "2.2.2", features = ["serde"] }
http = "0.2.6"
# async
tokio = { version = "1.15.0", features = ["full"] }
futures = "0.3.19"
# De-/Serialisation
serde = { version = "1.0.135", features = ["derive"] }
serde_json = "1.0.78"
serde_yaml = "0.8.23"
#serde_any = { git = "https://github.com/simonsan/serde_any.git", version = "0.5.1", default-features = false, features = ["yaml", "toml", "json"]}
serde-aux = "3.0.1"
bytes = "1.1.0"
# Templating
# askama = "0.10"
# OpenAPI
#openapi_utils = "0.2.0"
#openapiv3 = "0.3.2"
# Utility
typed-builder = "0.9.1"
#itertools = "0.10.0"
strum = { version = "0.23.0", features = ["derive"] }
#derive_more = "0.99.11"
derive-getters = "0.2.0"
dashmap = { version = "5.0.0", features = ["serde", "rayon"] }
uuid = { version = "0.8.2", features = ["serde", "v4"] }
#derive_setters = "0.1.5"
# Validation
#validators-derive = "0.22.3"
#validators = "0.22.3"
[dev-dependencies]
#assert_cmd = "1.0.3"
#predicates = "1.0.7"
pretty_assertions = "1.0.0"
#claim = "0.5.0"
#rstest = "0.6.4"
wiremock = "0.5.10"
lazy_static = "1.4.0"
[profile.dev]
opt-level=0
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 4
[profile.release]
opt-level=3
debug = true # true for profiling
rpath = false
lto = "fat"
debug-assertions = false
codegen-units = 1
[profile.test]
opt-level = 1
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 4
[profile.bench]
opt-level = 3
debug = true # true for profiling
rpath = false
lto = true
debug-assertions = false
codegen-units = 1