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

make Account clonable

This commit is contained in:
Ubuntu 2022-10-18 17:01:28 +00:00
parent e0dc937d88
commit 43799946da
3 changed files with 3 additions and 2 deletions

2
Cargo.lock generated
View file

@ -100,7 +100,7 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
[[package]]
name = "azalea"
version = "0.2.1"
version = "0.2.2"
dependencies = [
"anyhow",
"async-trait",

View file

@ -6,6 +6,7 @@ use tokio::sync::mpsc::UnboundedReceiver;
use uuid::Uuid;
/// Something that can join Minecraft servers.
#[derive(Clone, Debug)]
pub struct Account {
pub username: String,
/// The access token for authentication. You can obtain one of these

View file

@ -3,7 +3,7 @@ description = "A framework for creating Minecraft bots."
edition = "2021"
license = "MIT"
name = "azalea"
version = "0.2.1"
version = "0.2.2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html