Skip to content

Commit

Permalink
database: replace futures with futures-util, as unsed only that part …
Browse files Browse the repository at this point in the history
…of functionality
  • Loading branch information
klensy committed Dec 27, 2023
1 parent 8394b74 commit d0f6665
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion database/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ postgres-native-tls = "0.5"
native-tls = "0.2"
lazy_static = "1"
env_logger = "0.10"
futures = "0.3.5"
futures-util = "0.3.5"
log = "0.4"
bytes = "1"
csv = "1"
Expand Down
2 changes: 1 addition & 1 deletion database/src/bin/postgres-to-sqlite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use chrono::{DateTime, Utc};
use clap::{builder::PossibleValuesParser, ArgAction};
use database::pool::{postgres, sqlite, ConnectionManager};
use futures::StreamExt;
use futures_util::StreamExt;
use rusqlite::params;
use std::time::Instant;

Expand Down
2 changes: 1 addition & 1 deletion database/src/bin/sqlite-to-postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use bytes::{BufMut, Bytes, BytesMut};
use chrono::{DateTime, TimeZone, Utc};
use database::pool::{postgres, sqlite, ConnectionManager};
use futures::sink::SinkExt;
use futures_util::sink::SinkExt;
use serde::{Serialize, Serializer};
use std::convert::{TryFrom, TryInto};
use std::io::Write;
Expand Down

0 comments on commit d0f6665

Please sign in to comment.