/straw-picks-over-http

Rust/Rocket application to select a random person from a given list.

Primary LanguageRustMIT LicenseMIT

straw-picks-over-http

draw-straws

A small Rust/Rocket application to select a person from a list. Responses (should be) cryptographically random* and responses are digitally signed (with ed25519).

* it uses rand::thread_rng over here.

Build + run

$ cargo build
$ cargo test
$ cargo run

Endpoints

Route Description
/ Public key
/?choices=A,B Pull a straw for A & B