Skip to content

Commit

Permalink
chore: Remove rpc-jsonrpsee Crate (#376)
Browse files Browse the repository at this point in the history
### Description

Replaces #370 

Removes the `op-alloy-rpc-jsonrpsee` crate since `maili` provides this
functionality in `maili-rpc-jsonrpsee`.
  • Loading branch information
refcell authored Jan 10, 2025
1 parent bc6e767 commit 835c340
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 239 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ op-alloy-genesis = { version = "0.9.2", path = "crates/genesis", default-feature
op-alloy-consensus = { version = "0.9.2", path = "crates/consensus", default-features = false }
op-alloy-network = { version = "0.9.2", path = "crates/network", default-features = false }
op-alloy-rpc-types = { version = "0.9.2", path = "crates/rpc-types", default-features = false }
op-alloy-rpc-jsonrpsee = { version = "0.9.2", path = "crates/rpc-jsonrpsee", default-features = false }
op-alloy-rpc-types-engine = { version = "0.9.2", path = "crates/rpc-types-engine", default-features = false }

# Alloy
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ The following crates are provided by `op-alloy`.
- [`op-alloy-consensus`][op-alloy-consensus]
- [`op-alloy-genesis`][op-alloy-genesis]
- [`op-alloy-network`][op-alloy-network]
- [`op-alloy-rpc-jsonrpsee`][op-alloy-rpc-jsonrpsee]
- [`op-alloy-rpc-types-engine`][op-alloy-rpc-types-engine]
- [`op-alloy-rpc-types`][op-alloy-rpc-types]

Expand Down Expand Up @@ -90,6 +89,5 @@ shall be dual licensed as above, without any additional terms or conditions.
[op-alloy-consensus]: https://crates.io/crates/op-alloy-consensus
[op-alloy-genesis]: https://crates.io/crates/op-alloy-genesis
[op-alloy-network]: https://crates.io/crates/op-alloy-network
[op-alloy-rpc-jsonrpsee]: https://crates.io/crates/op-alloy-rpc-jsonrpsee
[op-alloy-rpc-types-engine]: https://crates.io/crates/op-alloy-rpc-types-engine
[op-alloy-rpc-types]: https://crates.io/crates/op-alloy-rpc-types
1 change: 0 additions & 1 deletion book/src/links.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
[op-alloy-genesis]: https://crates.io/crates/op-alloy-genesis
[op-alloy-network]: https://crates.io/crates/op-alloy-network
[op-alloy-protocol]: https://crates.io/crates/op-alloy-protocol
[op-alloy-rpc-jsonrpsee]: https://crates.io/crates/op-alloy-rpc-jsonrpsee
[op-alloy-rpc-types-engine]: https://crates.io/crates/op-alloy-rpc-types-engine
[op-alloy-rpc-types]: https://crates.io/crates/op-alloy-rpc-types

Expand Down
1 change: 0 additions & 1 deletion book/src/starting.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ so `op-alloy-consensus` types can be used from `op-alloy` through `op_alloy::con
- [`op-alloy-genesis`][op-alloy-genesis] (supports `no_std`)
- [`op-alloy-protocol`][op-alloy-protocol] (supports `no_std`)
- [`op-alloy-consensus`][op-alloy-consensus] (supports `no_std`)
- [`op-alloy-rpc-jsonrpsee`][op-alloy-rpc-jsonrpsee]
- [`op-alloy-rpc-types`][op-alloy-rpc-types] (supports `no_std`)
- [`op-alloy-rpc-types-engine`][op-alloy-rpc-types-engine] (supports `no_std`)

Expand Down
4 changes: 0 additions & 4 deletions crates/op-alloy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ workspace = true
op-alloy-consensus = { workspace = true, optional = true }
op-alloy-genesis = { workspace = true, optional = true }
op-alloy-network = { workspace = true, optional = true }
op-alloy-rpc-jsonrpsee = { workspace = true, optional = true }
op-alloy-rpc-types-engine = { workspace = true, optional = true }
op-alloy-rpc-types = { workspace = true, optional = true }

Expand All @@ -42,7 +41,6 @@ full = [
"network",
"rpc-types",
"rpc-types-engine",
"rpc-jsonrpsee",
]

k256 = [
Expand Down Expand Up @@ -70,5 +68,3 @@ rpc-types-engine = ["dep:op-alloy-rpc-types-engine"]

# std features
network = ["dep:op-alloy-network"]
rpc-jsonrpsee = ["dep:op-alloy-rpc-jsonrpsee"]

1 change: 0 additions & 1 deletion crates/op-alloy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,5 @@ shall be dual licensed as above, without any additional terms or conditions.
[op-alloy-consensus]: https://crates.io/crates/op-alloy-consensus
[op-alloy-genesis]: https://crates.io/crates/op-alloy-genesis
[op-alloy-network]: https://crates.io/crates/op-alloy-network
[op-alloy-rpc-jsonrpsee]: https://crates.io/crates/op-alloy-rpc-jsonrpsee
[op-alloy-rpc-types-engine]: https://crates.io/crates/op-alloy-rpc-types-engine
[op-alloy-rpc-types]: https://crates.io/crates/op-alloy-rpc-types
4 changes: 0 additions & 4 deletions crates/op-alloy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,3 @@ pub use op_alloy_rpc_types as rpc_types;
#[cfg(feature = "rpc-types-engine")]
#[doc(inline)]
pub use op_alloy_rpc_types_engine as rpc_types_engine;

#[cfg(feature = "rpc-jsonrpsee")]
#[doc(inline)]
pub use op_alloy_rpc_jsonrpsee as rpc_jsonrpsee;
41 changes: 0 additions & 41 deletions crates/rpc-jsonrpsee/Cargo.toml

This file was deleted.

10 changes: 0 additions & 10 deletions crates/rpc-jsonrpsee/README.md

This file was deleted.

12 changes: 0 additions & 12 deletions crates/rpc-jsonrpsee/src/lib.rs

This file was deleted.

162 changes: 0 additions & 162 deletions crates/rpc-jsonrpsee/src/traits.rs

This file was deleted.

0 comments on commit 835c340

Please sign in to comment.