forked from tisonkun/morax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
120 lines (111 loc) · 3.65 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
# Copyright 2024 tison <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
[workspace]
members = [
"api/kafka-api",
"api/protos",
"api/wal-client",
"cmd/morax",
"crates/kafka-broker",
"crates/meta",
"crates/runtime",
"crates/server",
"crates/storage",
"crates/telemetry",
"crates/version",
"crates/wal-broker",
"tests/rdkafka",
"tests/rskafka",
"tests/toolkit",
"tests/wal",
"xtask",
]
resolver = "2"
[workspace.package]
authors = ["tison <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/tisonkun/morax/"
version = "0.1.0"
[workspace.dependencies]
backon = { version = "1.0", features = ["tokio-sleep"] }
base64 = { version = "0.22" }
better-panic = { version = "0.3" }
build-data = { version = "0.2" }
byteorder = { version = "1.5" }
clap = { version = "4.5", features = ["derive"] }
const_format = { version = "0.2" }
ctrlc = "3.4"
error-stack = { version = "0.5" }
fastrace = { version = "0.7", features = ["enable"] }
flexbuffers = { version = "2.0" }
futures = "0.3"
gix-discover = "0.35"
insta = { version = "1.38", features = ["json"] }
latches = { version = "0.2", features = ["task"] }
local-ip-address = "0.6"
log = { version = "0.4", features = ["kv_unstable_serde", "serde"] }
logforth = { version = "0.12", features = ["env-filter"] }
mime = { version = "0.3" }
opendal = { version = "0.50" }
pin-project = "1.1"
poem = { version = "3.0", features = ["compression", "rustls"] }
regex = "1.10"
reqwest = { version = "0.12", features = ["json", "rustls-tls"] }
scopeguard = "1.2"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
shadow-rs = { version = "0.35.1" }
sqlx = { version = "0.8", features = [
"json",
"postgres",
"runtime-tokio-rustls",
"uuid",
] }
tempfile = "3.12"
test-harness = "0.3"
testcontainers = { version = "0.23", features = ["blocking"] }
thiserror = "1.0"
tokio = { version = "1.38", features = ["full"] }
tokio-util = { version = "0.7", features = ["compat"] }
toml = "0.8"
url = "2.5"
uuid = { version = "1.8", features = ["v4"] }
# workspace dependencies
kafka-api = { version = "0.4.1", path = "api/kafka-api" }
morax-kafka-broker = { version = "0.1.0", path = "crates/kafka-broker" }
morax-meta = { version = "0.1.0", path = "crates/meta" }
morax-protos = { version = "0.1.0", path = "api/protos" }
morax-runtime = { version = "0.1.0", path = "crates/runtime" }
morax-server = { version = "0.1.0", path = "crates/server" }
morax-storage = { version = "0.1.0", path = "crates/storage" }
morax-telemetry = { version = "0.1.0", path = "crates/telemetry" }
morax-version = { version = "0.1.0", path = "crates/version" }
morax-wal-broker = { version = "0.1.0", path = "crates/wal-broker" }
morax-wal-client = { version = "0.1.0", path = "api/wal-client" }
tests-toolkit = { version = "0.1.0", path = "tests/toolkit" }
[workspace.lints.rust]
unknown_lints = "deny"
unsafe_code = "deny"
[workspace.lints.clippy]
dbg_macro = "deny"
[workspace.metadata.release]
pre-release-commit-message = "chore: release v{{version}}"
shared-version = true
sign-tag = true
tag-name = "v{{version}}"
[profile.dist]
inherits = "release"
lto = "thin"