-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathCargo.toml
146 lines (139 loc) · 4 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
[workspace]
default-members = ["crates/fuel-streams"]
members = [
"benches/*",
"crates/*",
"crates/subject/subject-derive",
"examples",
"scripts/generate-api-keys",
"scripts/subjects-schema",
"scripts/update-db",
"services/*",
"tests",
]
resolver = "2"
[workspace.package]
authors = ["Fuel Labs <contact@fuel.sh>"]
edition = "2021"
homepage = "https://fuel.network/"
keywords = ["blockchain", "cryptocurrencies", "data-stream"]
license = "Apache-2.0"
repository = "https://github.com/fuellabs/data-systems"
rust-version = "1.85.1"
version = "0.0.29"
[workspace.dependencies]
anyhow = "1.0.97"
apache-avro = { version = "0.17.0", features = ["derive"] }
async-nats = "0.40.0"
async-stream = "0.3.6"
async-trait = "0.1.88"
axum = { version = "0.8.3", features = ["json", "ws", "query"] }
bincode = "2.0.1"
bytes = "1.10.1"
chrono = { version = "0.4.40", features = ["serde"] }
clap = { version = "4.5.35", features = ["derive", "env"] }
dashmap = { version = "6.1.0", features = ["serde"] }
derive_more = { version = "2.0.1", features = [
"is_variant",
"display",
"from_str",
] }
displaydoc = "0.2.5"
dotenvy = "0.15.7"
futures = "0.3.31"
futures-util = "0.3.31"
hex = "0.4.3"
indexmap = { version = "2.8.0", features = ["serde"] }
moka = { version = "0.12.10", features = ["sync"] }
num_cpus = "1.16.0"
pretty_assertions = "1.4.1"
rand = "0.9.0"
rayon = "1.10.0"
regex = "1.11.1"
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
serde_urlencoded = "0.7.1"
sha2 = "0.10.8"
sqlx = { version = "0.8.3", default-features = false, features = [
"chrono",
"macros",
"postgres",
"runtime-tokio",
"tls-native-tls",
] }
strum = { version = "0.27.1", features = ["derive"] }
strum_macros = "0.27.1"
test-case = "3.3.1"
thiserror = "2.0.12"
time = { version = "0.3.41", features = ["serde"] }
tokio = { version = "1.44.1", features = [
"io-util",
"macros",
"rt-multi-thread",
"test-util",
] }
tokio-stream = "0.1.17"
tower = { version = "0.5.2", features = ["util"] }
tower-http = { version = "0.6.2", features = [
"fs",
"cors",
"trace",
"compression-full",
"decompression-full",
] }
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = [
"local-time",
"env-filter",
] }
utoipa = { version = "5.3.1", features = ["axum_extras", "chrono", "time"] }
# Fuel Core dependencies
fuel-core = { version = "0.43.0", default-features = false, features = [
"p2p",
"relayer",
"rocksdb",
] }
fuel-core-bin = { version = "0.43.0", default-features = false, features = [
"p2p",
"relayer",
"rocksdb",
] }
fuel-core-client = { version = "0.43.0", default-features = false, features = [
"std",
] }
fuel-core-importer = { version = "0.43.0" }
fuel-core-poa = { version = "0.43.0", default-features = false }
fuel-core-services = { version = "0.43.0", default-features = false }
fuel-core-storage = { version = "0.43.0" }
fuel-core-txpool = { version = "0.43.0" }
fuel-core-types = { version = "0.43.0", default-features = false, features = [
"serde",
"std",
] }
# Internal dependencies
fuel-data-parser = { version = "0.0.29", path = "crates/data-parser" }
fuel-message-broker = { version = "0.0.29", path = "crates/message-broker" }
fuel-streams = { version = "0.0.29", path = "crates/fuel-streams" }
fuel-streams-core = { version = "0.0.29", path = "crates/core" }
fuel-streams-domains = { version = "0.0.29", path = "crates/domains" }
fuel-streams-subject = { version = "0.0.29", path = "crates/subject" }
fuel-streams-test = { version = "0.0.22", path = "crates/test" }
fuel-streams-types = { version = "0.0.29", path = "crates/types" }
fuel-web-utils = { version = "0.0.29", path = "crates/web-utils" }
subject-derive = { version = "0.0.29", path = "crates/subject/subject-derive" }
# Workspace projects
[workspace.metadata.cargo-machete]
ignored = ["anyhow", "fuel-core", "tokio"]
[profile.release]
codegen-units = 1
incremental = false
debug = 0
lto = "thin"
opt-level = 3
panic = 'abort'
strip = true
[profile.dev]
incremental = true
lto = false
opt-level = 0
split-debuginfo = "unpacked"