-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
164 lines (146 loc) · 9.58 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
[workspace]
members = [
# Utils
"src/utils/graceful-shutdown",
"src/utils/repo-tools",
# Apps
"src/app/api-server",
"src/app/oracle-provider",
]
resolver = "2"
[workspace.dependencies]
# Utils
graceful-shutdown = { path = "src/utils/graceful-shutdown", version = "0.49.0", default-features = false }
# Utils (core)
container-runtime = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
database-common = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
database-common-macros = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
http-common = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
init-on-startup = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
internal-error = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
messaging-outbox = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
observability = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
random-names = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
time-source = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
# Domain
opendatafabric = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-task-system = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-task-system-services = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-flow-system = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-flow-system-services = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-accounts = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-datasets = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
# Infra
kamu = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-accounts-inmem = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-accounts-postgres = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-accounts-services = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-accounts-sqlite = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-adapter-auth-oso = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-adapter-flight-sql = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-adapter-graphql = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-adapter-http = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-adapter-oauth = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-adapter-odata = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-auth-rebac-inmem = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-auth-rebac-postgres = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-auth-rebac-services = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-auth-rebac-sqlite = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-datasets-inmem = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-datasets-postgres = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-datasets-services = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-datasets-sqlite = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-flow-system-inmem = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-flow-system-postgres = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-flow-system-sqlite = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-messaging-outbox-inmem = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-messaging-outbox-postgres = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-messaging-outbox-sqlite = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-task-system-inmem = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-task-system-postgres = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
kamu-task-system-sqlite = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.216.0", version = "0.216.0", default-features = false }
[workspace.package]
version = "0.49.0"
edition = "2021"
homepage = "https://github.com/kamu-data/kamu-platform"
repository = "https://github.com/kamu-data/kamu-platform"
authors = ["Kamu Data Inc. <[email protected]>"]
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 = { 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 ovverides to dependencies
# See: https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html
[patch.crates-io]
# datafusion-odata = { git = 'https://github.com/kamu-data/datafusion-odata.git', branch = '42.0.0-axum-0.6' }
# 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' }