-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
93 lines (81 loc) · 2.18 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
[package]
name = "stonemq"
version = "0.1.0"
edition = "2021"
rust-version = "1.80.0"
repository = "https://github.com/jonefeewang/stonemq"
authors = ["jonefeewang<jonefeewang@gmail.com>"]
description = "A high performance and efficient message queue written in Rust."
keywords = ["kafka", "pulsar", "mq", "message queue", "distributed", "queue", "broker", "queue server"]
categories = ["network-programming", "messaging", "queue", "broker", "queue server"]
license = "Apache-2.0"
[dependencies]
# tokio dependencies
tokio = { version = "1.33", features = [
"rt",
"time",
"net",
"io-util",
"macros",
"signal",
"rt-multi-thread",
"tracing",
"test-util",
] }
tokio-stream = "0.1.11"
tokio-util = { version = "0.7", features = ["time"] }
bytes = { version = "1", features = ["serde"] }
# common dependencies
num_cpus = "1.16"
thiserror = "1.0.49"
config = "0.14"
clap = { version = "4.4", features = ["derive"] }
rocksdb = "0.22.0"
serde = { version = "1.0.188", features = ["derive"] }
chrono = "0.4"
uuid = { version = "1.1.2", features = ["v4"] }
rand = "0.8.5"
integer-encoding = "4.0.0"
crc32c = "0.6.5"
memmap2 = "0.9.4"
dotenv = "0.15.0"
# concurrency lib
dashmap = "6.0.0"
parking_lot = "0.12.3"
async-channel = "2.3"
# tracing and metrics
tracing = { version = "0.1", features = ["log"] }
tracing-core = "0.1.28"
tracing-appender = "0.2"
console-subscriber = "0.1.5"
tracing-opentelemetry = "=0.24.0"
opentelemetry = { version = "0.23", features = ["trace", "metrics"] }
opentelemetry_sdk = { version = "0.23", default-features = false, features = [
"trace",
"rt-tokio",
] }
opentelemetry-stdout = { version = "0.4.0", features = ["trace", "metrics"] }
opentelemetry-otlp = { version = "0.16", features = ["metrics"] }
opentelemetry-semantic-conventions = "0.15"
tracing-subscriber = { version = "0.3.0", default-features = false, features = [
"registry",
"std",
"fmt",
"chrono",
"env-filter",
"ansi",
"tracing-log",
] }
[dev-dependencies]
tempfile = "3"
rstest = "0.22.0"
[[bin]]
name = "stonemq"
path = "src/bin/stonemq.rs"
[[bin]]
name = "log-parser"
path = "src/bin/log_parser.rs"
[profile.release]
debug = true
[profile.dev]
debug = true