Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 799 Bytes

README.md

File metadata and controls

50 lines (38 loc) · 799 Bytes

Beacon

Interplanar Beacon

A "room oriented" signaling server using websockets.

Usage

Usage: beacon [<addr>] -c <cert> -k <key>

Beacon server

Options:
  -c, --cert        cert file
  -k, --key         key file
  --help            display usage information
# with specific log level
RUST_LOG=debug beacon [...]

Starts without TLS if no cert nor key are given.

Dev tools

Local certs

Use mkcert for simplicity

mkcert -install localhost

Format

cargo install rustfmt
cargo fmt

Lint

cargo install clippy
cargo clippy

Static build

cargo install cross --git https://github.com/cross-rs/cross
cross build --release --target x86_64-unknown-linux-musl