Rename crate to nym-task (#3064)
* Rename to nym-task * Update imports to use nym_task * Update to nym_task in explicit module prefix * Touchups and rustfmt * rustfmt * crate metadata * fix nym-connect-android
This commit is contained in:
@@ -23,13 +23,13 @@ use config::NymConfig;
|
||||
use log::{error, info, warn};
|
||||
use mixnode_common::verloc::{self, AtomicVerlocResult, VerlocMeasurer};
|
||||
use nym_crypto::asymmetric::{encryption, identity};
|
||||
use nym_task::{TaskClient, TaskManager};
|
||||
use nym_version_checker::parse_version;
|
||||
use rand::seq::SliceRandom;
|
||||
use rand::thread_rng;
|
||||
use std::net::SocketAddr;
|
||||
use std::process;
|
||||
use std::sync::Arc;
|
||||
use task::{TaskClient, TaskManager};
|
||||
|
||||
mod http;
|
||||
mod listener;
|
||||
|
||||
@@ -503,7 +503,7 @@ impl Controller {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use task::TaskManager;
|
||||
use nym_task::TaskManager;
|
||||
|
||||
#[tokio::test]
|
||||
async fn node_stats_reported_are_received() {
|
||||
|
||||
@@ -134,7 +134,7 @@ mod tests {
|
||||
use std::sync::{Arc, Mutex};
|
||||
use std::time::Duration;
|
||||
|
||||
use task::TaskManager;
|
||||
use nym_task::TaskManager;
|
||||
|
||||
use nym_sphinx::addressing::nodes::NymNodeRoutingAddress;
|
||||
use nym_sphinx_params::packet_sizes::PacketSize;
|
||||
|
||||
Reference in New Issue
Block a user