Add a "tiny" HTTP example

Hopefully being relatively illustrative in how a bare-bones non-production-ready
server can be spun up!
This commit is contained in:
Alex Crichton
2017-09-10 21:45:23 -07:00
parent a4e947fba0
commit 5e92b10f3f
2 changed files with 327 additions and 0 deletions
+6
View File
@@ -28,5 +28,11 @@ futures = "0.1.15"
[dev-dependencies]
env_logger = { version = "0.4", default-features = false }
http = "0.1"
httparse = "1.0"
libc = "0.2"
num_cpus = "1.0"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
time = "0.1"