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:
Jon Häggblad
2023-02-20 21:55:29 +01:00
committed by GitHub
parent ce79d5a3bc
commit 46e2c74a98
91 changed files with 319 additions and 312 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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() {
+1 -1
View File
@@ -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;