Skip to content

Commit

Permalink
trie-geyser: fix use of Rayon (#376)
Browse files Browse the repository at this point in the history
trie-geyser doesn’t directly use Rayon. Remove it from dependencies and
instead enable the feature in cf-solana which (optionally) uses it.
  • Loading branch information
mina86 authored Aug 25, 2024
1 parent 8c7ddd5 commit c0ae235
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion solana/trie-geyser/Cargo.lock

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

3 changes: 1 addition & 2 deletions solana/trie-geyser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ crossbeam-channel = "0.5.13"
derive_more = "0.99.18"
hex = { git = "https://github.com/mina86/rust-hex.git", branch = "main", default-features = false }
log = "0.4.17"
rayon = "1.10.0"
# TODO(mina86): Change to "1" once we update the toolchain. Building
# with serde 1.0.204 breaks due to the use of ‘diagnostic’ attribute.
serde = { version = "=1.0.203", features = ["derive"] }
serde_json = "1"

cf-solana = { path = "../../common/cf-solana", default-features = false, features = ["solana-program-2"] }
cf-solana = { path = "../../common/cf-solana", default-features = false, features = ["solana-program-2", "rayon"] }
solana-witnessed-trie = { path = "../witnessed-trie", default-features = false, features = ["api2"] }

solana-accounts-db = { git = "https://github.com/ComposableFi/mantis-solana.git", branch = "mantis/dev" }
Expand Down

0 comments on commit c0ae235

Please sign in to comment.