Update dependencies

This commit is contained in:
Dominik Werder
2023-08-24 12:38:02 +02:00
parent 191d98bc5c
commit ab9a4d69ec
36 changed files with 420 additions and 471 deletions

View File

@@ -4,7 +4,9 @@ pub mod scan;
pub mod search;
pub mod pg {
pub use tokio_postgres::{Client, Error, NoTls};
pub use tokio_postgres::Client;
pub use tokio_postgres::Error;
pub use tokio_postgres::NoTls;
}
use err::anyhow;
@@ -13,13 +15,18 @@ use err::Error;
use err::Res2;
use err::ThisError;
use netpod::log::*;
use netpod::Database;
use netpod::NodeConfigCached;
use netpod::ScalarType;
use netpod::SfDbChannel;
use netpod::Shape;
use netpod::TableSizes;
use netpod::{Database, NodeConfigCached, SfDbChannel};
use netpod::{ScalarType, Shape};
use pg::{Client as PgClient, NoTls};
use pg::Client as PgClient;
use pg::NoTls;
use serde::Serialize;
use std::sync::Arc;
use std::time::Duration;
use taskrun::tokio;
trait ErrConv<T> {
fn err_conv(self) -> Result<T, Error>;

View File

@@ -25,6 +25,7 @@ use std::sync::Arc;
use std::sync::RwLock;
use std::task::Context;
use std::task::Poll;
use taskrun::tokio;
use tokio::fs::DirEntry;
use tokio::fs::ReadDir;
use tokio_postgres::Client;