-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
93 lines (76 loc) · 2.05 KB
/
Copy pathCargo.toml
File metadata and controls
93 lines (76 loc) · 2.05 KB
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]
authors = ["TaskMaster Team"]
default-run = "task-master"
description = "Task management server with reversible blockchain transactions"
edition = "2021"
license = "Apache-2.0"
name = "task-master"
version = "0.1.0"
[[bin]]
name = "task-master"
path = "src/main.rs"
[[bin]]
name = "create_admin"
path = "src/bin/create_admin.rs"
[[bin]]
name = "create_raid"
path = "src/bin/create_raid.rs"
[dependencies]
# Quantus crates
qp-human-checkphrase = "0.1.2"
qp-rusty-crystals-dilithium = "2.0.0"
quantus-cli = "0.3.0"
rusx = {git = "https://github.com/Quantus-Network/rusx", tag = "v0.6.0"}
# Async runtime
tokio = {version = "1.46", features = ["full", "test-util"]}
# HTTP server
axum = {version = "0.7", features = ["tokio"]}
tower = "0.4"
tower-cookies = "0.10"
tower-http = {version = "0.5", features = ["cors", "trace"]}
# Serialization
serde = {version = "1.0.228", features = ["derive"]}
serde_json = "1.0.145"
# Database
sqlx = {version = "0.7", features = [
"runtime-tokio-rustls",
"chrono",
"postgres",
"uuid",
"migrate",
]}
# Signature verification
# Using quantus-cli's dilithium crypto for signature verification
hex = "0.4"
sp-core = "37.0.0"
sp-runtime = "42.0.0"
# Configuration
clap = {version = "4.5", features = ["derive"]}
config = "0.14"
toml = "0.9"
# Time handling
chrono = {version = "0.4", features = ["serde"]}
# Random generation
rand = "0.9"
uuid = {version = "1.6", features = ["v4", "serde"]}
# HTTP client for GraphQL
reqwest = {version = "0.11", features = ["json"]}
# Logging
tracing = "0.1"
tracing-subscriber = {version = "0.3", features = ["env-filter"]}
# Error handling
anyhow = "1.0"
thiserror = "2.0"
# Additional utilities
argon2 = "0.5"
dirs = "6.0"
jsonwebtoken = "9.3.1"
lazy_static = "1.5.0"
prometheus = {version = "0.14.0", features = ["process"]}
subxt = "0.43.0"
tiny-keccak = {version = "2.0.2", features = ["keccak"]}
[dev-dependencies]
mockall = "0.13"
wiremock = "0.5"
# Enable the testing feature ONLY for tests
rusx = {git = "https://github.com/Quantus-Network/rusx", tag = "v0.6.0", features = ["testing"]}