From a6a6d2273e64fb87e2885da0c582e38bbdea6ed9 Mon Sep 17 00:00:00 2001 From: swen Date: Wed, 28 Aug 2024 20:50:02 +0100 Subject: [PATCH] wip --- examples/name-service/programs/name-service/Cargo.toml | 4 ++-- scripts/release-all-rust-crates.sh | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/name-service/programs/name-service/Cargo.toml b/examples/name-service/programs/name-service/Cargo.toml index 54b5c80d23..b2373e7090 100644 --- a/examples/name-service/programs/name-service/Cargo.toml +++ b/examples/name-service/programs/name-service/Cargo.toml @@ -34,9 +34,9 @@ light-utils = { path = "../../../../utils", version = "0.4.2" } light-verifier = { path = "../../../../circuit-lib/verifier", version = "0.4.2" } [target.'cfg(not(target_os = "solana"))'.dependencies] -solana-sdk = "1.18.11" +solana-sdk = { workspace = true } [dev-dependencies] light-test-utils = { path = "../../../../test-utils", version = "0.4.2" } -solana-program-test = "1.18.11" +solana-program-test = { workspace = true } tokio = "1.36.0" diff --git a/scripts/release-all-rust-crates.sh b/scripts/release-all-rust-crates.sh index 32bc37fed3..56a7cf9521 100755 --- a/scripts/release-all-rust-crates.sh +++ b/scripts/release-all-rust-crates.sh @@ -12,7 +12,8 @@ echo "Tagging and releasing all Rust projects..." echo "Logging in to crates.io..." cargo login "${CRATES_IO_TOKEN}" # TODO: allow dynamic releases, and add gh release workflow -PACKAGES=("aligned-sized" "light-heap" "light-bounded-vec" "light-utils" "light-hasher" "light-macros" "light-hash-set" "light-merkle-tree-reference" "light-concurrent-merkle-tree" "light-indexed-merkle-tree" "light-prover-client" "light-verifier" "account-compression" "light-system-program" "light-registry" "light-compressed-token" "photon-api" "light-test-utils" "light-sdk") +PACKAGES=("light-hash-set" "light-merkle-tree-reference" "light-concurrent-merkle-tree" "light-indexed-merkle-tree" "light-prover-client" "light-verifier" "account-compression" "light-system-program" "light-registry" "light-compressed-token" "photon-api" "light-test-utils" "light-sdk") +# PACKAGES=("aligned-sized" "light-heap" "light-bounded-vec" "light-utils" "light-hasher" "light-macros" "light-hash-set" "light-merkle-tree-reference" "light-concurrent-merkle-tree" "light-indexed-merkle-tree" "light-prover-client" "light-verifier" "account-compression" "light-system-program" "light-registry" "light-compressed-token" "photon-api" "light-test-utils" "light-sdk") # PACKAGES=("photon-api" "light-test-utils" "light-sdk") for PACKAGE in "${PACKAGES[@]}"; do PKG_VERSION=$(cargo pkgid -p "$PACKAGE" | cut -d "#" -f2)