aboutsummaryrefslogtreecommitdiff
path: root/azalea-crypto
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2022-09-19 21:21:46 -0500
committerGitHub <noreply@github.com>2022-09-19 21:21:46 -0500
commite46577a214ae30159d14c128c45488e3772c8f84 (patch)
treeca4932b8f3f81f6eaa6d37c5f4d7ea390968d54d /azalea-crypto
parent528c1a07e3ac089ff70036a5e403eb2b8d3ae21f (diff)
downloadazalea-drasl-e46577a214ae30159d14c128c45488e3772c8f84.tar.xz
Fix connection writer being locked (#23)
* Split connection struct in az-protocol * az-client uses split conns * fix errors * add a convenience write_packet fn to az-client
Diffstat (limited to 'azalea-crypto')
-rw-r--r--azalea-crypto/benches/my_benchmark.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-crypto/benches/my_benchmark.rs b/azalea-crypto/benches/my_benchmark.rs
index aeee8b07..e8c4ecad 100644
--- a/azalea-crypto/benches/my_benchmark.rs
+++ b/azalea-crypto/benches/my_benchmark.rs
@@ -2,7 +2,7 @@ use azalea_crypto::{create_cipher, decrypt_packet, encrypt_packet};
use criterion::{criterion_group, criterion_main, Criterion};
fn bench(c: &mut Criterion) {
- let (mut enc, mut dec) = create_cipher(b"0123456789abcdef");
+ let (mut enc, dec) = create_cipher(b"0123456789abcdef");
let mut packet = [0u8; 65536];
for i in 0..packet.len() {