mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-22 11:39:35 +00:00
Remove a pair of unused structs/deps
Caught by the most recent nightly.
This commit is contained in:
parent
880565cb81
commit
0f6878567f
6 changed files with 6 additions and 8 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -8404,7 +8404,6 @@ dependencies = [
|
|||
"serai-message-queue-tests",
|
||||
"serai-processor",
|
||||
"serai-processor-messages",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"tokio",
|
||||
"zeroize",
|
||||
|
|
|
@ -174,8 +174,6 @@ impl FeePriority {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
struct EmptyResponse {}
|
||||
#[derive(Debug, Deserialize)]
|
||||
struct JsonRpcResponse<T> {
|
||||
result: T,
|
||||
|
|
|
@ -83,7 +83,7 @@ impl<Call: 'static + TransactionMember + From<crate::Call>, Extra: 'static + Tra
|
|||
#[cfg(feature = "serde")]
|
||||
mod _serde {
|
||||
use scale::Encode;
|
||||
use serde::{ser::*, de::*};
|
||||
use serde::ser::*;
|
||||
use super::*;
|
||||
impl<Call: 'static + TransactionMember + From<crate::Call>, Extra: 'static + TransactionMember>
|
||||
Serialize for Transaction<Call, Extra>
|
||||
|
@ -93,6 +93,9 @@ mod _serde {
|
|||
serializer.serialize_bytes(&encoded)
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
use serde::de::*;
|
||||
#[cfg(feature = "std")]
|
||||
impl<
|
||||
'a,
|
||||
|
|
|
@ -14,6 +14,8 @@ pub mod pallet {
|
|||
use sp_io::hashing::blake2_256;
|
||||
|
||||
use frame_system::pallet_prelude::*;
|
||||
// False positive
|
||||
#[allow(unused)]
|
||||
use frame_support::{pallet_prelude::*, sp_runtime};
|
||||
|
||||
use serai_primitives::*;
|
||||
|
|
|
@ -42,7 +42,6 @@ serai-db = { path = "../../common/db", default-features = false }
|
|||
serai-message-queue = { path = "../../message-queue" }
|
||||
|
||||
borsh = { version = "1", features = ["de_strict_order"] }
|
||||
serde = { version = "1", default-features = false }
|
||||
serde_json = { version = "1", default-features = false }
|
||||
|
||||
tokio = { version = "1", features = ["time"] }
|
||||
|
|
|
@ -160,9 +160,6 @@ pub fn processor_stack(
|
|||
)
|
||||
}
|
||||
|
||||
#[derive(serde::Deserialize, Debug)]
|
||||
struct EmptyResponse {}
|
||||
|
||||
pub struct Coordinator {
|
||||
network: NetworkId,
|
||||
|
||||
|
|
Loading…
Reference in a new issue