Skip to content

Commit

Permalink
feat: add rkyv (#6)
Browse files Browse the repository at this point in the history
* add rkyv

* recover gc

* some fix

* fix tests

* fix clippy

* fix bench

* fix scroll types
  • Loading branch information
lightsing authored Oct 8, 2024
1 parent 4d884b2 commit 0804d10
Show file tree
Hide file tree
Showing 20 changed files with 1,472 additions and 397 deletions.
150 changes: 142 additions & 8 deletions Cargo.lock

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

9 changes: 7 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,18 @@ rustdoc-args = ["--cfg", "docsrs"]
missing-docs = "deny"
missing-debug-implementations = "deny"

[lints.clippy]
only-used-in-recursion = "allow"

[dependencies]
alloy-primitives = "0.8.0"
alloy-primitives = { version = "0.8.0", features = ["rkyv"] }
hashbrown = { version = "0.14", optional = true }
hex = "0.4"
num-derive = "0.4"
num-traits = "0.2"
once_cell = "1.19"
poseidon-bn254 = { git = "https://github.com/scroll-tech/poseidon-bn254", branch = "master" }
rkyv = { version = "0.7", features = ["validation"] }
sled = { version = "0.34", optional = true }
strum = { version = "0.26", features = ["derive"] }
thiserror = "1.0"
Expand Down Expand Up @@ -62,8 +66,9 @@ scroll = ["dep:revm-primitives"]
sled = ["dep:sled"]
sled_compression = ["sled", "sled/zstd"]

# MSRV 1.75 patch
# MSRV 1.75 & rkyv patch
[patch.crates-io]
ruint = { git = "https://github.com/scroll-tech/uint.git", branch = "v1.12.3" }
alloy-eips = { git = "https://github.com/scroll-tech/alloy.git", branch = "v0.3.0" }
alloy-eip2930 = { git = "https://github.com/scroll-tech/alloy-eips", branch = "v0.1.0" }
alloy-eip7702 = { git = "https://github.com/scroll-tech/alloy-eips", branch = "v0.1.0" }
Expand Down
Loading

0 comments on commit 0804d10

Please sign in to comment.