Skip to content

de-luca/beacon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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