reproducible build

This commit is contained in:
Valentyn Faychuk 2024-12-18 16:54:49 +02:00
parent ad2c5a7f6c
commit 273a9f0483
Signed by: valy
GPG Key ID: F1AB995E20FEADC5
2 changed files with 28 additions and 50 deletions

22
Cargo.lock generated

@ -2032,7 +2032,6 @@ dependencies = [
"hyper-rustls 0.27.3", "hyper-rustls 0.27.3",
"hyper-util", "hyper-util",
"once_cell", "once_cell",
"prometheus",
"prost", "prost",
"prost-types", "prost-types",
"rand 0.8.5", "rand 0.8.5",
@ -3228,21 +3227,6 @@ dependencies = [
"unicode-ident", "unicode-ident",
] ]
[[package]]
name = "prometheus"
version = "0.13.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3d33c28a30771f7f96db69893f78b857f7450d7e0237e9c8fc6427a81bae7ed1"
dependencies = [
"cfg-if",
"fnv",
"lazy_static",
"memchr",
"parking_lot",
"protobuf",
"thiserror",
]
[[package]] [[package]]
name = "prost" name = "prost"
version = "0.13.3" version = "0.13.3"
@ -3296,12 +3280,6 @@ dependencies = [
"prost", "prost",
] ]
[[package]]
name = "protobuf"
version = "2.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "106dd99e98437432fed6519dedecfade6a06a73bb7b2a1e019fdd2bee5778d94"
[[package]] [[package]]
name = "qstring" name = "qstring"
version = "0.7.2" version = "0.7.2"

@ -1,42 +1,42 @@
[package] [package]
name = "hacker-challenge" name = "hacker-challenge"
rust-version = "1.83.0"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4.9" once_cell = "1.20.2"
async-stream = "0.3" env_logger = "0.11.5"
chrono = "0.4" actix-web = "4.9.0"
dashmap = "6.1" async-stream = "0.3.6"
prost = "0.13" chrono = "0.4.38"
prost-types = "0.13" dashmap = "6.1.0"
rand = "0.8" prost = "0.13.3"
serde = { version = "1.0", features = ["derive"] } prost-types = "0.13.3"
serde_with = { version = "3.11", features = ["macros", "base64"] } rand = "0.8.5"
serde_json = "1.0" serde = { version = "1.0.210", features = ["derive"] }
solana-client = "2.0" serde_with = { version = "3.11.0", features = ["macros", "base64"] }
solana-program = "2.0" serde_json = "1.0.128"
solana-sdk = "2.0" solana-client = "2.0.13"
spl-associated-token-account = "5.0" solana-program = "2.0.13"
spl-token = "6.0" solana-sdk = "2.0.13"
tokio = { version = "1.40", features = ["macros", "rt-multi-thread", "fs"] } # this can be "full" spl-associated-token-account = "5.0.1"
tokio-stream = { version = "0.1", features = ["sync"] } spl-token = "6.0.0"
tonic = "0.12" tokio = { version = "1.40.0", features = ["macros", "rt-multi-thread", "fs"] } # this can be "full"
tokio-stream = { version = "0.1.16", features = ["sync"] }
tonic = "0.12.3"
# sgx poc dependencies # sgx poc dependencies
rustls = "0.23" rustls = "0.23.14"
tokio-rustls = "0.26" tokio-rustls = "0.26.26"
tower = { version = "0.5", features = ["full"] } tower = { version = "0.5.1", features = ["full"] }
tower-http = { version = "0.6", features = ["full"] } tower-http = { version = "0.6.2", features = ["full"] }
hyper = "1.4.1" hyper = "1.4.1"
hyper-util = "0.1.7" hyper-util = "0.1.7"
hyper-rustls = { version = "0.27", features = ["http2"] } hyper-rustls = { version = "0.27.3", features = ["http2"] }
detee-sgx = { git = "ssh://git@gitea.detee.cloud/SGX/detee-sgx", branch = "hacker-challenge", features = ["tonic", "occlum", "sealing"] } detee-sgx = { git = "https://gitea.detee.cloud/general/detee-sgx", features = ["tonic", "occlum", "sealing"] }
once_cell = "1.20.2"
env_logger = "0.11"
[build-dependencies] [build-dependencies]
tonic-build = "0.12" tonic-build = "0.12.3"
[patch.crates-io.curve25519-dalek] [patch.crates-io.curve25519-dalek]
git = "https://github.com/anza-xyz/curve25519-dalek.git" git = "https://github.com/anza-xyz/curve25519-dalek.git"