mirror of
https://github.com/HeyPuter/epoxy.git
synced 2026-11-13 18:34:09 -10:00
epoxy-server
Performant server implementation of the Wisp protocol in Rust, made for epoxy-client.
You can view a recent flamegraph of the server under load here.
Building
cargo b -r
The executable will be placed at target/release/epoxy-server.
You can optionally add the environment variable RUSTFLAGS="-C target-cpu=native" to optimize for the current CPU.
Configuration
epoxy-server is configured through a configuration file in either TOML, JSON, or YAML. Pass the configuration file's path as an argument to epoxy-server.
The defaults can be printed with the command line option --default-config and the configuration file format can be changed from the default of TOML with the command line option --format. Documentation for the available configuration options is in src/config.rs.