This repository has been archived by the owner on Oct 20, 2024. It is now read-only.
Releases: M3DZIK/servers
Releases · M3DZIK/servers
v0.6.0
v0.5.0
- Changed map type in
Client
struct toArc<Mutex<HashMap<String, ClientMapValue>>>
. - Implemented functions
insert_key
,get_value
anddelete_key
to theClient
type. - Re-export
servers::server::ClientMapValue
inservers::plugins::prelude.
v0.4.2
v0.4.1
v0.4.0
v0.3.0
Breaking
- tcp: use tcp from tokio instead of std
Features
- client: added
peer_addr
function - server: added
/help
command - api: re-export
async_trait
so that it doesn't have to be added to dependencies in plugins
Changed
- server: the
/help
command has been accelerated - cli: moved to the
cli.rs
file - logger: changed
log
totracing
- dependencies: updated
- cli: deleted option
--disable-websocket
and added--enable-websocket
v0.2.0
Features
- plugins: add
Result<()>
infn execute()
(Event and Command traits) - websocket: WS Client <-> TCP Proxy (default port 9998) <-> TCP (default port 9999)
Chore
- deps: upgrade
v0.1.0
Default commands
- help
Dynamic plugins loader
You can create custom commands and events (events executed if client connected or send message)
Cli
You set custom host and port ./servers --host 0.0.0.0 --port 9999
Show cli help ./servers --help