mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 04:39:24 +00:00
Add workspace lints
This commit is contained in:
@@ -9,6 +9,13 @@ edition = "2021"
|
||||
publish = false
|
||||
rust-version = "1.74"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[[bin]]
|
||||
name = "serai-node"
|
||||
|
||||
|
||||
@@ -124,7 +124,7 @@ pub fn new_partial(config: &Configuration) -> Result<PartialComponents, ServiceE
|
||||
justification_import: Some(Box::new(justification_import)),
|
||||
client: client.clone(),
|
||||
select_chain: select_chain.clone(),
|
||||
create_inherent_data_providers: move |_, _| async move {
|
||||
create_inherent_data_providers: move |_, ()| async move {
|
||||
Ok(create_inherent_data_providers(slot_duration))
|
||||
},
|
||||
spawner: &task_manager.spawn_essential_handle(),
|
||||
@@ -259,7 +259,7 @@ pub async fn new_full(config: Configuration) -> Result<TaskManager, ServiceError
|
||||
block_import,
|
||||
sync_oracle: sync_service.clone(),
|
||||
justification_sync_link: sync_service.clone(),
|
||||
create_inherent_data_providers: move |_, _| async move {
|
||||
create_inherent_data_providers: move |_, ()| async move {
|
||||
Ok(create_inherent_data_providers(slot_duration))
|
||||
},
|
||||
force_authoring,
|
||||
|
||||
Reference in New Issue
Block a user