aboutsummaryrefslogtreecommitdiffstats
path: root/examples/small.rs
AgeCommit message (Collapse)Author
2020-07-04Add license (GNU GPLv3+)Teddy Wing
2020-07-04Server::start: Return a `Server` directly instead of a `Result`Teddy Wing
We don't have any `Result`s to propagate in this function, so the `Result` return wrapper is unnecessary. Must have copied this signature from Civet without thinking: https://github.com/conduit-rust/rust-civet/blob/ab9c52ca634f65439060c2248295d2ac354aead5/src/lib.rs#L214
2020-07-04Add examples/small.rsTeddy Wing
Copy the short example from the module documentation into an executable file.