1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00

gitignore flamegraph stuff

This commit is contained in:
mat 2022-04-30 17:55:18 -05:00
parent 7f9463320f
commit cc70d80932
4 changed files with 8 additions and 3 deletions

3
.gitignore vendored
View file

@ -1,2 +1,5 @@
/target
/doc
flamegraph.svg
perf.data
perf.data.old

View file

@ -10,3 +10,6 @@ members = [
"azalea-nbt",
"azalea-brigadier",
]
[profile.release]
debug = true

View file

@ -73,11 +73,10 @@ impl Client {
match packet_result {
Ok(packet) => match packet {
LoginPacket::ClientboundHelloPacket(p) => {
println!("Got encryption request {:?} {:?}", p.nonce, p.public_key);
println!("Got encryption request");
let e = azalea_auth::encryption::encrypt(&p.public_key, &p.nonce).unwrap();
// TODO: authenticate with the server here (authenticateServer)
println!("Sending encryption response {:?}", e);
conn.write(
ServerboundKeyPacket {

View file

@ -5,7 +5,7 @@ async fn main() {
println!("Hello, world!");
// let address = "95.111.249.143:10000";
let address = "localhost:58422";
let address = "172.23.192.1:51015";
// let response = azalea_client::ping::ping_server(&address.try_into().unwrap())
// .await
// .unwrap();