Update dependencies
This commit is contained in:
@@ -10,17 +10,14 @@ path = "src/dbconn.rs"
|
||||
[dependencies]
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
tokio = { version = "1.23.0", features = ["time"] }
|
||||
tokio-postgres = { version = "0.7.7", features = ["with-chrono-0_4", "with-serde_json-1"] }
|
||||
tracing = "0.1.37"
|
||||
tokio-postgres = { version = "0.7.9", features = ["with-chrono-0_4", "with-serde_json-1"] }
|
||||
crc32fast = "1.3.2"
|
||||
byteorder = "1.4"
|
||||
futures-util = "0.3.25"
|
||||
bytes = "1.3"
|
||||
bytes = "1.4.0"
|
||||
pin-project = "1"
|
||||
#dashmap = "3"
|
||||
scylla = "0.8.1"
|
||||
async-channel = "1.8.0"
|
||||
async-channel = "1.9.0"
|
||||
chrono = "0.4"
|
||||
regex = "1.7.0"
|
||||
err = { path = "../err" }
|
||||
|
||||
@@ -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>;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user