fix warnings
This commit is contained in:
@ -10,11 +10,9 @@
|
|||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
use async_std::task::sleep;
|
|
||||||
use json::object;
|
use json::object;
|
||||||
use tokio::net::TcpStream;
|
use tokio::net::TcpStream;
|
||||||
use std::collections::VecDeque;
|
use std::collections::VecDeque;
|
||||||
use std::time::Duration;
|
|
||||||
use crate::minecraft::handshake::Handshake;
|
use crate::minecraft::handshake::Handshake;
|
||||||
use crate::minecraft::varint::{varint_read, varint_write};
|
use crate::minecraft::varint::{varint_read, varint_write};
|
||||||
use std::{fmt, io};
|
use std::{fmt, io};
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
use json::object;
|
|
||||||
|
|
||||||
//pub fn ping(data: json::object) -> json::object {
|
//pub fn ping(data: json::object) -> json::object {
|
||||||
//
|
//
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
use std::io;
|
use std::io;
|
||||||
use tokio::net::TcpStream;
|
use tokio::net::TcpStream;
|
||||||
|
|
||||||
use crate::rpc::actions;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* request_format :
|
* request_format :
|
||||||
@ -17,6 +16,6 @@ use crate::rpc::actions;
|
|||||||
* - data: json object containing the response data
|
* - data: json object containing the response data
|
||||||
*/
|
*/
|
||||||
|
|
||||||
pub async fn process_rpc_socket(stream: TcpStream) -> io::Result<()> {
|
pub async fn process_rpc_socket(_stream: TcpStream) -> io::Result<()> {
|
||||||
panic!("not implemented");
|
panic!("not implemented");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user