Skip to content

Commit

Permalink
refactor: bounded-vec to light-zero-copy
Browse files Browse the repository at this point in the history
  • Loading branch information
ananas-block committed Jan 2, 2025
1 parent 864a1a1 commit 39463dc
Show file tree
Hide file tree
Showing 39 changed files with 4,143 additions and 3,306 deletions.
88 changes: 58 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ members = [
"program-libs/utils",
"program-libs/verifier",
"program-libs/merkle-tree-metadata",
"program-libs/bounded-vec",
"program-libs/zero-copy",
"program-libs/concurrent-merkle-tree",
"program-libs/hash-set",
"program-libs/indexed-merkle-tree",
Expand Down Expand Up @@ -96,6 +96,7 @@ light-sdk = { path = "sdk-libs/sdk", version = "0.11.0" }
light-sdk-macros = { path = "sdk-libs/macros", version = "0.4.0" }
light-utils = { path = "program-libs/utils", version = "1.1.0" }
light-verifier = { path = "program-libs/verifier", version = "1.1.0" }
light-zero-copy = { path = "program-libs/zero-copy", version = "0.1.0" }
photon-api = { path = "sdk-libs/photon-api", version = "0.45.0" }
forester-utils = { path = "forester-utils", version = "1.2.0" }
account-compression = { path = "programs/account-compression", version = "1.2.0", features = ["cpi"] }
Expand All @@ -108,7 +109,7 @@ light-batched-merkle-tree = { path = "program-libs/batched-merkle-tree", version
light-merkle-tree-metadata = { path = "program-libs/merkle-tree-metadata", version = "0.1.0" }
aligned-sized = { path = "program-libs/aligned-sized", version = "1.1.0" }
light-bloom-filter = { path = "program-libs/bloom-filter", version = "0.1.0" }
light-bounded-vec = { path = "program-libs/bounded-vec", version = "1.1.0" }
light-bounded-vec = { version = "1.1.0" }
light-poseidon = { version = "0.2.0" }
light-test-utils = { path = "program-tests/utils", version = "1.2.1" }
create-address-program-test = { path = "program-tests/create-address-test-program", version = "1.0.0" }
Expand Down
3 changes: 2 additions & 1 deletion program-libs/batched-merkle-tree/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ solana = []
[dependencies]
aligned-sized = { workspace=true}
solana-program = { workspace = true }
light-bounded-vec = { workspace=true, features = ["solana"] }
light-zero-copy = { workspace=true, features = ["solana"] }
light-hasher = { workspace=true, features = ["solana"] }
light-utils = { workspace=true }
light-bloom-filter = { workspace=true, features = ["solana"] }
Expand All @@ -25,6 +25,7 @@ borsh = "0.10"
light-macros = {workspace = true}
anchor-lang = { workspace = true , optional = true }
bytemuck = { workspace = true }
light-bounded-vec = { workspace = true }

[dev-dependencies]
rand = "0.8.5"
Expand Down
Loading

0 comments on commit 39463dc

Please sign in to comment.