Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 814 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 814 Bytes

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