Skip to content

Commit

Permalink
fix: use workspace dependencies with version to allow publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielePicco committed Jan 4, 2025
1 parent f78db3d commit 82ff88e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ readme = "../README.md"
keywords = ["solana", "crypto", "delegation", "ephemeral-rollups", "magicblock"]

[workspace.dependencies]
ephemeral-rollups-sdk = { path = "sdk", version = "0.2.0" }
ephemeral-rollups-sdk-attribute-ephemeral = { path = "ephemeral", version = "=0.2.0" }
ephemeral-rollups-sdk-attribute-delegate = { path = "delegate", version = "=0.2.0" }
ephemeral-rollups-sdk-attribute-commit = { path = "commit-attribute", version = "=0.2.0" }
Expand Down
8 changes: 4 additions & 4 deletions rust/resolver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ license = { workspace = true }
edition = { workspace = true }

[dependencies]
ephemeral-rollups-sdk = { workspace = true }

## External crates

# runtime
tokio = { version = "1.0", features = [ "rt", "sync", "macros" ] }
futures = "0.3"
Expand All @@ -26,10 +30,6 @@ sdk = { package = "solana-sdk", version = "1.18.26" }
rpc = { package = "solana-rpc-client", version = "1.18.26" }
rpc-api = { package = "solana-rpc-client-api", version = "1.18.26" }

# ephemeral rollups
ephemeral-rollups-sdk = { path = "../sdk" }


# parsing
serde = { version = "1.0", features = [ "derive" ] }
json = { package = "sonic-rs", version = "0.3" }
Expand Down

0 comments on commit 82ff88e

Please sign in to comment.