-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
223 lines (197 loc) · 14.8 KB
/
Cargo.toml
File metadata and controls
223 lines (197 loc) · 14.8 KB
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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
[workspace]
members = [
# Utils
"src/utils/email-gateway",
"src/utils/graceful-shutdown",
"src/utils/repo-tools",
# Apps
"src/app/api-server",
"src/app/oracle-provider",
# E2E
"src/e2e/app/common",
"src/e2e/app/common-macros",
"src/e2e/app/kamu-node-puppet",
"src/e2e/app/repo-tests",
"src/e2e/app/postgres",
"src/e2e/app/sqlite",
]
resolver = "3"
[workspace.dependencies]
# Apps
kamu-api-server = { path = "src/app/api-server", version = "0.85.0", default-features = false }
# Utils
email-gateway = { path = "src/utils/email-gateway", version = "0.85.0", default-features = false, features = [
"postmark",
] }
graceful-shutdown = { path = "src/utils/graceful-shutdown", version = "0.85.0", default-features = false }
# Utils (core)
async-utils = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
container-runtime = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
crypto-utils = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
database-common = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
database-common-macros = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
email-utils = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
graphql-http = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
http-common = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
init-on-startup = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
internal-error = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
messaging-outbox = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
observability = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
s3-utils = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
server-console = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
test-utils = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
time-source = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
## Open Data Fabric
odf = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false, package = "opendatafabric" }
# Domain
kamu-accounts = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-auth-rebac = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-auth-rebac-services = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-auth-web3 = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-auth-web3-services = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-datasets = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-flow-system = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-flow-system-services = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-search = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-search-services = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-task-system = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-task-system-services = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-webhooks = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-webhooks-services = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
# Infra
kamu = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-accounts-inmem = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-accounts-postgres = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-accounts-services = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-accounts-sqlite = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-adapter-auth-oso-rebac = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-adapter-auth-web3 = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-adapter-flight-sql = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-adapter-graphql = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-adapter-http = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-adapter-oauth = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-adapter-odata = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-adapter-flow-dataset = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-adapter-flow-webhook = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-adapter-task-dataset = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-adapter-task-webhook = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-adapter-flow-task = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-auth-rebac-inmem = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-auth-rebac-postgres = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-auth-rebac-sqlite = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-auth-web3-inmem = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-auth-web3-postgres = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-auth-web3-sqlite = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-datasets-inmem = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-datasets-postgres = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-datasets-services = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-datasets-sqlite = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-flow-system-inmem = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-flow-system-postgres = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-flow-system-sqlite = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-messaging-outbox-inmem = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-messaging-outbox-postgres = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-messaging-outbox-sqlite = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-search-elasticsearch = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-search-openai = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-search-cache-inmem = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-search-cache-postgres = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-search-cache-sqlite = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-task-system-inmem = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-task-system-postgres = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-task-system-sqlite = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-webhooks-inmem = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-webhooks-postgres = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-webhooks-sqlite = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
# E2E: kamu-cli
kamu-cli-e2e-common = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
kamu-cli-e2e-repo-tests = { git = "https://github.com/kamu-data/kamu-cli", branch = "master", version = "0.261.0", default-features = false }
# E2E: kamu-node
kamu-node-e2e-common = { path = "src/e2e/app/common", version = "0.85.0", default-features = false }
kamu-node-e2e-common-macros = { path = "src/e2e/app/common-macros", version = "0.85.0", default-features = false }
kamu-node-puppet = { path = "src/e2e/app/kamu-node-puppet", version = "0.85.0", default-features = false }
kamu-node-e2e-repo-tests = { path = "src/e2e/app/repo-tests", version = "0.85.0", default-features = false }
[workspace.package]
version = "0.85.0"
edition = "2024"
homepage = "https://github.com/kamu-data/kamu-platform"
repository = "https://github.com/kamu-data/kamu-platform"
authors = ["Kamu Data Inc. <dev@kamu.dev>"]
readme = "README.md"
license-file = "LICENSE.txt"
keywords = [
"data",
"collaboration",
"etl",
"pipeline",
"provenance",
"blockchain",
]
include = ["benches/*.rs", "src/**/*.rs", "Cargo.toml"]
publish = false
[workspace.lints.clippy]
# clippy::all (clippy::сorrectness, clippy::suspicious, clippy::style, clippy::complexity, clippy::perf)
new_without_default = "allow"
too_many_arguments = "allow"
module_inception = "allow"
# clippy::pedantic
pedantic = { level = "warn", priority = -1 }
default_trait_access = "allow"
fn_params_excessive_bools = "allow"
if_not_else = "allow"
ignored_unit_patterns = "allow"
items_after_statements = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_raw_string_hashes = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
unused_self = "allow"
wildcard_imports = "allow"
# clippy::cargo
cargo = { level = "warn", priority = -1 }
multiple_crate_versions = { level = "allow", priority = 1 }
[profile.dev]
# Change this to 1 for faster builds that still preserve enough info for backtraces.
# Use 2 when you need to attach a debugger.
debug = 2
# Emit the line info tables for our crates to produce useful crash reports and backtraces.
# We don't emit info for dependencies as this significantly increases binary size.
# See: https://doc.rust-lang.org/cargo/reference/profiles.html#debug
[profile.release.package]
container-runtime = { debug = 1 }
internal-error = { debug = 1 }
opendatafabric = { debug = 1 }
kamu = { debug = 1 }
kamu-api-server = { debug = 1 }
kamu-adapter-graphql = { debug = 1 }
kamu-adapter-http = { debug = 1 }
kamu-adapter-oauth = { debug = 1 }
kamu-adapter-auth-oso-rebac = { debug = 1 }
kamu-adapter-flight-sql = { debug = 1 }
kamu-task-system = { debug = 1 }
kamu-task-system-inmem = { debug = 1 }
kamu-oracle-provider = { debug = 1 }
[profile.ci]
inherits = "dev"
# CI builds often are closer to from-scratch builds. Incremental adds an extra
# dependency-tracking overhead and significantly increases the amount of IO and
# the size of ./target, which make caching less effective
# See: https://matklad.github.io/2021/09/04/fast-rust-builds.html#CI-Workflow
incremental = false
# Line info is enough to get good backtraces in CI - we don't need the
# full debugging symbols that are only useful when attaching a debugger.
debug = 1
# Use this section to test or apply emergency overrides to dependencies
# See: https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html
[patch.crates-io]
# Use this section to build against local versions of the core crates
[patch.'https://github.com/kamu-data/kamu-cli']
# observability = { path = '../kamu-cli/src/utils/observability' }