-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
107 lines (101 loc) · 3.21 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
[package]
name = "kalatori"
authors = [
"Alexander Slesarev <[email protected]>",
"Vova Lando <[email protected]>",
"Artyom Sheviakov <[email protected]>",
]
version = "0.3.1"
edition = "2021"
description = "A gateway daemon for Kalatori."
license = "GPL-3.0-or-later"
homepage = "https://github.com/Alzymologist/Kalatori-backend"
repository = "https://github.com/Alzymologist/Kalatori-backend"
documentation = "https://docs.rs/Kalatori"
readme = "README.md"
keywords = ["substrate", "blockchain", "finance", "service", "middleware"]
categories = ["finance"]
exclude = [".github", "cliff.toml", "Dockerfile", "chopsticks/", "configs", "is_version_greater.sh", "shoot.sh", "start.sh", "/tests"]
rust-version = "1.82"
[dependencies]
axum = { version = "0.7", default-features = false, features = [
"tokio",
"http1",
"query",
"json",
"matched-path",
] }
tracing-subscriber = { version = "0.3", features = ["env-filter", "time"] }
names = { version = "0.14", default-features = false }
tokio-util = { version = "0.7", features = ["rt"] }
tokio = { version = "1", features = ["rt-multi-thread", "signal", "time"] }
serde = { version = "1", features = ["derive", "rc"] }
tracing = "0.1"
scale-info = "2"
axum-macros = "0.4"
primitive-types = { version = "0.13", features = ["codec", "serde"] }
jsonrpsee = { version = "0.24", features = ["ws-client"] }
thiserror = "2"
frame-metadata = "18"
const-hex = "1"
codec = { package = "parity-scale-codec", version = "3", features = [
"chain-error",
"derive",
] }
serde_json = { version = "1", features = ["raw_value"] }
hashing = { package = "sp-crypto-hashing", version = "0.1" }
toml_edit = { version = "0.22", default-features = false, features = [
"serde",
"parse",
"perf",
] }
sled = "0.34"
zeroize = "1"
clap = { version = "4", features = [
"derive",
"cargo",
"env",
"string",
"wrap_help",
"deprecated",
] }
# Don't forget to update me in `[build-dependencies]`!
shadow-rs = { version = "0.36", default-features = false }
ahash = "0.8"
indoc = "2"
async-lock = "3"
time = "0.3"
reqwest = "0.12"
substrate_parser = "0.7.0"
substrate-constructor = "0.2.0"
mnemonic-external = "0.1.0"
substrate-crypto-light = "0.1.0"
[build-dependencies]
# Don't forget to update me in `[dependencies]`!
shadow-rs = { version = "0.36", default-features = false }
[profile.release]
strip = true
lto = true
codegen-units = 1
panic = "abort"
overflow-checks = true
[lints.rust]
future_incompatible = "warn"
let_underscore = "warn"
rust_2018_idioms = "warn"
unused = "warn"
# TODO: https://github.com/rust-lang/cargo/issues/12918
rust-2024-compatibility = { level = "warn", priority = -1 }
[lints.clippy]
allow_attributes = "warn"
shadow_reuse = "warn"
shadow_same = "warn"
shadow_unrelated = "warn"
cargo_common_metadata = "warn"
arithmetic_side_effects = "warn"
# Having multiple module layout styles in a project can be confusing. Moreover, `mod.rs` files don't
# really harmonize with Git as they can be renamed back to self-named modules and Git fundamentally
# prone to poorly handle the file renaming that can result in their history erasure.
mod_module_files = "warn"
# TODO: https://github.com/rust-lang/cargo/issues/12918
pedantic = { level = "warn", priority = -1 }