Base of ui complete

This commit is contained in:
Thinkofdeath 2015-09-17 16:04:25 +01:00
parent 880cf0d912
commit 0f13be54fa
2 changed files with 11 additions and 10 deletions

View File

@ -1,9 +1,7 @@
#![allow(dead_code)]
extern crate byteorder;
extern crate hyper;
extern crate steven_openssl as openssl;
extern crate flate2;
extern crate serde_json;
use openssl;
use serde_json;
pub mod mojang;
@ -15,8 +13,9 @@ use std::net::TcpStream;
use std::io;
use std::io::{Write, Read};
use std::convert;
use self::byteorder::{BigEndian, WriteBytesExt, ReadBytesExt};
use self::flate2::read::{ZlibDecoder, ZlibEncoder};
use byteorder::{BigEndian, WriteBytesExt, ReadBytesExt};
use flate2::read::{ZlibDecoder, ZlibEncoder};
use flate2;
/// Helper macro for defining packets
#[macro_export]

View File

@ -1,6 +1,8 @@
extern crate steven_openssl as openssl;
extern crate serde_json;
extern crate hyper;
use openssl;
use serde_json;
use hyper;
pub struct Profile {
pub username: String,