Files
openworm/src/bin/client/rsc.rs
2025-12-03 22:51:57 -05:00

12 lines
321 B
Rust

pub const CLIENT_DATA: &str = "client_data";
#[derive(Debug, Default, bincode::Encode, bincode::Decode)]
pub struct ClientData {
pub ip: String,
pub username: String,
/// TODO: not store this as plain string?
/// need to figure out crypto stuff
/// or store session token
pub password: String,
}