Update module imports
This commit is contained in:
Generated
+12
-12
@@ -389,16 +389,6 @@ dependencies = [
|
||||
"futures-core",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "async-file-watcher"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"futures",
|
||||
"log",
|
||||
"notify",
|
||||
"tokio",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "async-io"
|
||||
version = "1.13.0"
|
||||
@@ -5012,6 +5002,16 @@ dependencies = [
|
||||
"ts-rs",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-async-file-watcher"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"futures",
|
||||
"log",
|
||||
"notify",
|
||||
"tokio",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-bandwidth-controller"
|
||||
version = "0.1.0"
|
||||
@@ -5875,7 +5875,6 @@ version = "1.1.33"
|
||||
dependencies = [
|
||||
"addr",
|
||||
"anyhow",
|
||||
"async-file-watcher",
|
||||
"async-trait",
|
||||
"bs58 0.5.0",
|
||||
"clap 4.4.7",
|
||||
@@ -5884,6 +5883,7 @@ dependencies = [
|
||||
"humantime-serde",
|
||||
"ipnetwork 0.20.0",
|
||||
"log",
|
||||
"nym-async-file-watcher",
|
||||
"nym-bin-common",
|
||||
"nym-client-core",
|
||||
"nym-client-websocket-requests",
|
||||
@@ -6695,7 +6695,6 @@ name = "nymvisor"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-file-watcher",
|
||||
"bytes",
|
||||
"clap 4.4.7",
|
||||
"dotenvy",
|
||||
@@ -6705,6 +6704,7 @@ dependencies = [
|
||||
"humantime 2.1.0",
|
||||
"humantime-serde",
|
||||
"nix 0.27.1",
|
||||
"nym-async-file-watcher",
|
||||
"nym-bin-common",
|
||||
"nym-config",
|
||||
"nym-task",
|
||||
|
||||
+1
-1
@@ -2,9 +2,9 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
use crate::request_filter::allowed_hosts::HostsStore;
|
||||
use async_file_watcher::{AsyncFileWatcher, FileWatcherEventReceiver};
|
||||
use futures::channel::mpsc;
|
||||
use futures::StreamExt;
|
||||
use nym_async_file_watcher::{AsyncFileWatcher, FileWatcherEventReceiver};
|
||||
use nym_task::TaskClient;
|
||||
use std::io;
|
||||
use std::path::Path;
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
use crate::upgrades::types::{CurrentVersionInfo, DigestAlgorithm, UpgradeInfo};
|
||||
use async_file_watcher::NotifyError;
|
||||
use nix::errno::Errno;
|
||||
use nix::sys::signal::Signal;
|
||||
use nym_async_file_watcher::NotifyError;
|
||||
use nym_bin_common::build_information::BinaryBuildInformationOwned;
|
||||
use std::ffi::OsString;
|
||||
use std::io;
|
||||
|
||||
@@ -7,9 +7,9 @@ use crate::error::NymvisorError;
|
||||
use crate::tasks::launcher::backup::BackupBuilder;
|
||||
use crate::upgrades::types::{CurrentVersionInfo, UpgradeInfo};
|
||||
use crate::upgrades::{perform_upgrade, types::UpgradePlan, UpgradeResult};
|
||||
use async_file_watcher::FileWatcherEventReceiver;
|
||||
use futures::future::{FusedFuture, OptionFuture};
|
||||
use futures::{FutureExt, StreamExt};
|
||||
use nym_async_file_watcher::FileWatcherEventReceiver;
|
||||
use nym_task::signal::wait_for_signal;
|
||||
use std::time::Duration;
|
||||
use time::OffsetDateTime;
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
use crate::config::Config;
|
||||
use crate::error::NymvisorError;
|
||||
use async_file_watcher::{AsyncFileWatcher, FileWatcherEventReceiver, NotifyResult};
|
||||
use futures::channel::mpsc;
|
||||
use nym_async_file_watcher::{AsyncFileWatcher, FileWatcherEventReceiver, NotifyResult};
|
||||
use tokio::task::JoinHandle;
|
||||
use tracing::warn;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user