mirror of
https://codeberg.org/spire/dispenser.git
synced 2026-06-03 10:04:07 +02:00
bumb dependencies
This commit is contained in:
parent
cdb8452cb6
commit
c2fd7cd3f8
3 changed files with 350 additions and 280 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue