bumb dependencies

This commit is contained in:
Robin Appelman 2022-05-20 18:35:50 +02:00
commit c2fd7cd3f8
3 changed files with 350 additions and 280 deletions

634
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -18,5 +18,5 @@ thrussh = "0.33"
thrussh-keys = "0.21"
futures-util = "0.3"
pretty_env_logger = "0.4"
cron = "0.9"
rcon = "0.4"
cron = "0.11.0"
rcon = { version = "0.6.0", features = ["rt-tokio"] }

View file

@ -1,8 +1,8 @@
use crate::Error;
use rcon::Connection;
use tokio::net::ToSocketAddrs;
use tokio::net::{TcpStream, ToSocketAddrs};
pub struct Rcon(Connection);
pub struct Rcon(Connection<TcpStream>);
impl Rcon {
pub async fn new<A: ToSocketAddrs>(host: A, password: &str) -> Result<Self, Error> {