Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: move rlp crates to a separate repo #187

Merged
merged 1 commit into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/target
/target/
/Cargo.lock
.vscode
.idea
/.vscode/
/.idea/
13 changes: 4 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,11 @@ rustdoc-args = ["--cfg", "docsrs"]
alloy-dyn-abi = { version = "0.2.0", path = "crates/dyn-abi", default-features = false }
alloy-json-abi = { version = "0.2.0", path = "crates/json-abi", default-features = false }
alloy-primitives = { version = "0.2.0", path = "crates/primitives", default-features = false }
alloy-rlp = { version = "0.2.0", path = "crates/rlp", default-features = false }
alloy-rlp-derive = { version = "0.2.0", path = "crates/rlp-derive", default-features = false }
alloy-sol-macro = { version = "0.2.0", path = "crates/sol-macro", default-features = false }
alloy-sol-type-parser = { version = "0.2.0", path = "crates/sol-type-parser", default-features = false }
alloy-sol-types = { version = "0.2.0", path = "crates/sol-types", default-features = false }
syn-solidity = { version = "0.2.0", path = "crates/syn-solidity", default-features = false }

ruint = { version = "1.9.0", package = "ruint2", default-features = false }
ruint-macro = { version = "1.0.3", package = "ruint2-macro", default-features = false }

# serde
serde = { version = "1.0", default-features = false, features = ["alloc"] }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
Expand All @@ -47,6 +42,8 @@ num_enum = "0.6"
thiserror = "1.0"

# misc
alloy-rlp = { version = "0.3.0", default-features = false }
alloy-rlp-derive = { version = "0.3.0", default-features = false }
arbitrary = "1.3"
arrayvec = { version = "0.7", default-features = false }
bytes = { version = "1.4", default-features = false }
Expand All @@ -58,8 +55,6 @@ itoa = "1"
once_cell = "1"
proptest = "1"
proptest-derive = "0.3"
ruint = { version = "1.9.0", package = "ruint2", default-features = false }
ruint-macro = { version = "1.0.3", package = "ruint2-macro", default-features = false }
tiny-keccak = "2.0"

# make ruint2 depend on the local alloy-rlp
[patch.crates-io]
alloy-rlp = { path = "crates/rlp" }
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ No action is needed from devs.
This repository contains the following crates:

- [`alloy-primitives`] - Primitive integer and byte types
- [`alloy-rlp`] - Implementation of [Ethereum RLP serialization][rlp]
- [`alloy-rlp-derive`] - Derive macros for `alloy-rlp`
- [`alloy-sol-type-parser`] - A simple parser for Solidity type strings
- [`alloy-json-abi`] - [JSON-ABI] implementation
- [`alloy-dyn-abi`] - Run-time ABI and [EIP-712] implementations
Expand All @@ -30,15 +28,12 @@ This repository contains the following crates:
- [`syn-solidity`] - [`syn`]-powered Solidity parser, used by `alloy-sol-macro`

[`alloy-primitives`]: ./crates/primitives
[`alloy-rlp`]: ./crates/rlp
[`alloy-rlp-derive`]: ./crates/rlp-derive
[`alloy-json-abi`]: ./crates/json-abi
[`alloy-sol-type-parser`]: ./crates/sol-type-parser
[`alloy-dyn-abi`]: ./crates/dyn-abi
[`alloy-sol-types`]: ./crates/sol-types
[`alloy-sol-macro`]: ./crates/sol-macro
[`syn-solidity`]: ./crates/syn-solidity
[rlp]: https://ethereum.org/en/developers/docs/data-structures-and-encoding/rlp
[EIP-712]: https://eips.ethereum.org/EIPS/eip-712
[`syn`]: https://github.com/dtolnay/syn

Expand Down
26 changes: 0 additions & 26 deletions crates/rlp-derive/Cargo.toml

This file was deleted.

18 changes: 0 additions & 18 deletions crates/rlp-derive/README.md

This file was deleted.

121 changes: 0 additions & 121 deletions crates/rlp-derive/src/de.rs

This file was deleted.

Loading