mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-22 19:49:22 +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-message-queue-tests",
|
||||||
"serai-processor",
|
"serai-processor",
|
||||||
"serai-processor-messages",
|
"serai-processor-messages",
|
||||||
"serde",
|
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"tokio",
|
"tokio",
|
||||||
"zeroize",
|
"zeroize",
|
||||||
|
|
|
@ -174,8 +174,6 @@ impl FeePriority {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Deserialize)]
|
|
||||||
struct EmptyResponse {}
|
|
||||||
#[derive(Debug, Deserialize)]
|
#[derive(Debug, Deserialize)]
|
||||||
struct JsonRpcResponse<T> {
|
struct JsonRpcResponse<T> {
|
||||||
result: T,
|
result: T,
|
||||||
|
|
|
@ -83,7 +83,7 @@ impl<Call: 'static + TransactionMember + From<crate::Call>, Extra: 'static + Tra
|
||||||
#[cfg(feature = "serde")]
|
#[cfg(feature = "serde")]
|
||||||
mod _serde {
|
mod _serde {
|
||||||
use scale::Encode;
|
use scale::Encode;
|
||||||
use serde::{ser::*, de::*};
|
use serde::ser::*;
|
||||||
use super::*;
|
use super::*;
|
||||||
impl<Call: 'static + TransactionMember + From<crate::Call>, Extra: 'static + TransactionMember>
|
impl<Call: 'static + TransactionMember + From<crate::Call>, Extra: 'static + TransactionMember>
|
||||||
Serialize for Transaction<Call, Extra>
|
Serialize for Transaction<Call, Extra>
|
||||||
|
@ -93,6 +93,9 @@ mod _serde {
|
||||||
serializer.serialize_bytes(&encoded)
|
serializer.serialize_bytes(&encoded)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "std")]
|
||||||
|
use serde::de::*;
|
||||||
#[cfg(feature = "std")]
|
#[cfg(feature = "std")]
|
||||||
impl<
|
impl<
|
||||||
'a,
|
'a,
|
||||||
|
|
|
@ -14,6 +14,8 @@ pub mod pallet {
|
||||||
use sp_io::hashing::blake2_256;
|
use sp_io::hashing::blake2_256;
|
||||||
|
|
||||||
use frame_system::pallet_prelude::*;
|
use frame_system::pallet_prelude::*;
|
||||||
|
// False positive
|
||||||
|
#[allow(unused)]
|
||||||
use frame_support::{pallet_prelude::*, sp_runtime};
|
use frame_support::{pallet_prelude::*, sp_runtime};
|
||||||
|
|
||||||
use serai_primitives::*;
|
use serai_primitives::*;
|
||||||
|
|
|
@ -42,7 +42,6 @@ serai-db = { path = "../../common/db", default-features = false }
|
||||||
serai-message-queue = { path = "../../message-queue" }
|
serai-message-queue = { path = "../../message-queue" }
|
||||||
|
|
||||||
borsh = { version = "1", features = ["de_strict_order"] }
|
borsh = { version = "1", features = ["de_strict_order"] }
|
||||||
serde = { version = "1", default-features = false }
|
|
||||||
serde_json = { version = "1", default-features = false }
|
serde_json = { version = "1", default-features = false }
|
||||||
|
|
||||||
tokio = { version = "1", features = ["time"] }
|
tokio = { version = "1", features = ["time"] }
|
||||||
|
|
|
@ -160,9 +160,6 @@ pub fn processor_stack(
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(serde::Deserialize, Debug)]
|
|
||||||
struct EmptyResponse {}
|
|
||||||
|
|
||||||
pub struct Coordinator {
|
pub struct Coordinator {
|
||||||
network: NetworkId,
|
network: NetworkId,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue