47 lines
1.3 KiB
TOML
47 lines
1.3 KiB
TOML
[package]
|
|
name = "hacker-challenge"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
actix-web = "4.9"
|
|
async-stream = "0.3"
|
|
chrono = "0.4"
|
|
dashmap = "6.1"
|
|
prost = "0.13"
|
|
prost-types = "0.13"
|
|
rand = "0.8"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
solana-client = "2.0"
|
|
solana-program = "2.0"
|
|
solana-sdk = "2.0"
|
|
spl-associated-token-account = "5.0"
|
|
spl-token = "6.0"
|
|
tokio = { version = "1.40", features = ["macros", "rt-multi-thread", "fs"] } # this can be "full"
|
|
tokio-stream = { version = "0.1", features = ["sync"] }
|
|
tonic = "0.12"
|
|
# sgx poc dependencies
|
|
rustls = "0.23"
|
|
x509-parser = "0.16"
|
|
ring = "0.17" # hash256
|
|
rcgen = "0.13"
|
|
log = "0.4"
|
|
hex = "0.4"
|
|
tokio-rustls = "0.26"
|
|
tower = { version = "0.5", features = ["full"] }
|
|
tower-http = { version = "0.5", features = ["full"] }
|
|
hyper = "1.4.1"
|
|
hyper-util = "0.1.7"
|
|
hyper-rustls = { version = "0.27", features = ["http2"] }
|
|
base64 = "0.22"
|
|
lazy_static = "1.5"
|
|
# TODO: create a feature for testing, make occlum feature optional and added only if not compiling for testing
|
|
occlum-ratls = { git = "ssh://git@gitea.detee.cloud/vfaychuk/occlum-ratls", features = ["tonic", "occlum"] }
|
|
|
|
[build-dependencies]
|
|
tonic-build = "0.12"
|
|
|
|
[patch.crates-io.curve25519-dalek]
|
|
git = "https://github.com/anza-xyz/curve25519-dalek.git"
|
|
rev = "b500cdc2a920cd5bff9e2dd974d7b97349d61464" |