Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Releases: M3DZIK/servers

v0.6.0

17 Aug 20:09
v0.6.0
95d0e15
Compare
Choose a tag to compare

Added

  • Added OnCommand event e.g. to disable command for client. BREAKING CHANGES IN EVENT PLUGINS
  • Added function for error handling in message process.
  • Added span to the logger on TRACE level in plugin loader.

Fixed

  • Now function on_load will be executed if the plugin is loads.

v0.5.0

17 Aug 13:50
v0.5.0
56e1614
Compare
Choose a tag to compare
  • Changed map type in Client struct to Arc<Mutex<HashMap<String, ClientMapValue>>>.
  • Implemented functions insert_key, get_value and delete_key to the Client type.
  • Re-export servers::server::ClientMapValue in servers::plugins::prelude.

v0.4.2

17 Aug 09:57
v0.4.2
bf1c3c4
Compare
Choose a tag to compare
  • fix: update anyhow to v1.0.62

v0.4.1

16 Aug 21:36
v0.4.1
c51c0a2
Compare
Choose a tag to compare
  • ci: Fixed release build and upload binaries to release

v0.4.0

16 Aug 21:29
v0.4.0
dd854ee
Compare
Choose a tag to compare
  • Rewrite
    • use async-std insted of tokio
    • better plugins
  • Now WebSocket is not a proxy to TCP

v0.3.0

04 Aug 14:38
v0.3.0
45a9fe6
Compare
Choose a tag to compare

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 to tracing
  • dependencies: updated
  • cli: deleted option --disable-websocket and added --enable-websocket

v0.2.0

26 Jun 11:10
Compare
Choose a tag to compare

Features

  • plugins: add Result<()> in fn execute() (Event and Command traits)
  • websocket: WS Client <-> TCP Proxy (default port 9998) <-> TCP (default port 9999)

Chore

  • deps: upgrade

v0.1.0

17 Jun 12:18
Compare
Choose a tag to compare

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