forked from kaspanet/rusty-kaspa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-picked Fix Rust 1.75 warnings (kaspanet#372)
* fix new unused imports warns by running `cargo clippy --fix --all --tests --benches --features devnet-prealloc` note that all these `pub use` were not really exposed publicly on the crate level * fix `variant name ends with the enum's name` warnings
- Loading branch information
1 parent
7fbc2e5
commit a9d1f9b
Showing
13 changed files
with
23 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
#[allow(clippy::module_inception)] | ||
mod core; | ||
pub use self::core::*; | ||
mod ipc; | ||
pub use ipc::*; | ||
mod settings; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,30 @@ | ||
pub use crate::core::MetricsCtl; | ||
pub use crate::core::*; | ||
pub use crate::error::Error; | ||
pub use crate::ipc::*; | ||
pub use crate::layout::Layout; | ||
pub use crate::metrics::*; | ||
pub use crate::result::Result; | ||
pub use crate::terminal::*; | ||
pub use async_trait::async_trait; | ||
pub use borsh::{BorshDeserialize, BorshSerialize}; | ||
pub use futures::{future::join_all, select, select_biased, stream::StreamExt, FutureExt, Stream}; | ||
pub use futures::{select, stream::StreamExt, FutureExt}; | ||
pub use kash_cli_lib::{KashCli, Options as KashCliOptions}; | ||
pub use kash_consensus_core::network::NetworkType; | ||
pub use kash_daemon::{ | ||
CpuMiner, CpuMinerConfig, CpuMinerCtl, DaemonEvent, DaemonKind, DaemonStatus, Daemons, Kashd, KashdConfig, KashdCtl, | ||
Result as DaemonResult, | ||
}; | ||
pub use kash_wallet_core::settings::{DefaultSettings, SettingsStore, SettingsStoreT}; | ||
pub use nw_sys::prelude::*; | ||
pub use regex::Regex; | ||
pub use serde::{Deserialize, Serialize}; | ||
pub use serde_json::{to_value, Value}; | ||
pub use std::path::{Path, PathBuf}; | ||
pub use std::sync::atomic::{AtomicBool, AtomicU64, Ordering}; | ||
pub use serde_json::Value; | ||
pub use wasm_bindgen::prelude::*; | ||
pub use workflow_core::channel::*; | ||
pub use workflow_core::enums::Describe; | ||
pub use workflow_core::runtime::*; | ||
pub use workflow_core::task::*; | ||
pub use workflow_core::time::*; | ||
pub use workflow_d3::*; | ||
pub use workflow_log::*; | ||
pub use workflow_nw::ipc::result::Result as IpcResult; | ||
pub use workflow_nw::ipc::*; | ||
pub use workflow_nw::prelude::*; | ||
pub use workflow_terminal::prelude::*; | ||
pub use workflow_terminal::{CrLf, Modifiers, Options as TerminalOptions}; | ||
pub use workflow_wasm::callback::{callback, AsCallback, Callback, CallbackMap}; | ||
pub use workflow_terminal::{CrLf, Options as TerminalOptions}; | ||
pub use workflow_wasm::callback::{callback, AsCallback, CallbackMap}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
mod ipc; | ||
#[allow(clippy::module_inception)] | ||
mod terminal; | ||
pub use terminal::*; | ||
mod ipc; | ||
pub use ipc::*; | ||
mod settings; | ||
pub use settings::*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters