-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
81 lines (63 loc) · 1.79 KB
/
Cargo.toml
File metadata and controls
81 lines (63 loc) · 1.79 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
[package]
name = "term-executor"
version = "2.3.0"
edition = "2021"
description = "Attested SWE-bench evaluation executor for term-challenge miners"
authors = ["Platform Network"]
license = "Apache-2.0"
repository = "https://github.com/PlatformNetwork/term-executor"
[[bin]]
name = "term-executor"
path = "src/main.rs"
[dependencies]
# Web framework
axum = { version = "0.7", features = ["json", "ws", "multipart"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "trace"] }
# Async runtime
tokio = { version = "1", features = ["full", "process"] }
tokio-stream = "0.1"
futures = "0.3"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
# HTTP client (for downloading task zips)
reqwest = { version = "0.12", features = ["json", "stream"] }
# Utils
uuid = { version = "1", features = ["v4"] }
chrono = { version = "0.4", features = ["serde"] }
sha2 = "0.10"
hex = "0.4"
base64 = "0.22"
# Error handling
anyhow = "1"
thiserror = "2"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Archive extraction
flate2 = "1"
tar = "0.4"
zip = "2"
# Temp files
tempfile = "3"
# System info
hostname = "0.4"
# Concurrency
parking_lot = "0.12"
dashmap = "6"
# SS58 address validation & sr25519 signature verification
bs58 = "0.5"
schnorrkel = "0.11"
rand_core = { version = "0.6", features = ["getrandom"] }
# Bittensor substrate client
bittensor-rs = { git = "https://github.com/cortexlm/bittensor-rs", branch = "main" }
blake2 = "0.10"
# Platform SDK
platform-challenge-sdk = { git = "https://github.com/PlatformNetwork/platform-v2", branch = "main" }
async-trait = "0.1"
[dev-dependencies]
tokio-test = "0.4"
[patch.crates-io]
w3f-bls = { git = "https://github.com/opentensor/bls", branch = "fix-no-std" }