-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
executable file
·50 lines (44 loc) · 1.59 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
[package]
name = "bridge-api"
version = "0.1.1"
edition = "2021"
authors = ["Avail Team"]
default-run = "bridge-api"
repository = "https://github.com/availproject/bridge-api.git"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
alloy-primitives = { version = "0.8", features = ["serde"] }
axum = { version = "0.7", features = ["http2", "macros", "tracing"] }
dotenvy = "0.15"
jsonrpsee = { version = "0.20", features = ["http-client", "macros", "async-client"] }
reqwest = { version = "0.11", features = ["json", "brotli"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["arbitrary_precision"] }
sha3 = "0.10"
tokio = { version = "1.35", features = ["macros", "rt-multi-thread", "parking_lot"] }
tower-http = { version = "0.5", features = ["trace", "compression-br", "cors"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
sp-io = "34.0"
sp-core = "34.0"
avail-core = { git = "https://github.com/availproject/avail-core", branch = "main"}
http = "1.1"
backon = { version = "0.5", features = ["tokio-sleep"] }
anyhow = "1"
lazy_static = "1.5"
diesel = { version = "2.2.4", features = ["postgres", "chrono", "r2d2"] }
diesel-enum = "0.2.1"
serde_with = "3.11.0"
chrono = { version = "0.4", features = ["serde"] }
[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = "0.6"
[profile.debug-fast]
inherits = "release"
debug = true
[profile.release]
panic = "abort"
[profile.maxperf]
inherits = "release"
lto = "fat"
codegen-units = 1