mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
fix(rpc-types): use jsonrpsee_types so it compiles standalone
before reth-rpc-types would not compile standalone without any feature turend on, it would work because of the feature being turned on by one of the transitive deps
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -4689,7 +4689,7 @@ name = "reth-rpc-types"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytes",
|
"bytes",
|
||||||
"jsonrpsee",
|
"jsonrpsee-types",
|
||||||
"reth-network-api",
|
"reth-network-api",
|
||||||
"reth-primitives",
|
"reth-primitives",
|
||||||
"reth-rlp",
|
"reth-rlp",
|
||||||
|
|||||||
@ -21,4 +21,4 @@ thiserror = "1.0"
|
|||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
bytes = "1.2"
|
bytes = "1.2"
|
||||||
jsonrpsee = { version = "0.16" }
|
jsonrpsee-types = { version = "0.16" }
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
use crate::Log;
|
use crate::Log;
|
||||||
use jsonrpsee::types::SubscriptionId;
|
use jsonrpsee_types::SubscriptionId;
|
||||||
use reth_primitives::H256;
|
use reth_primitives::H256;
|
||||||
use serde::{Deserialize, Deserializer, Serialize, Serializer};
|
use serde::{Deserialize, Deserializer, Serialize, Serializer};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user