Wolfgang Bumiller
da40267188
api-server, tools: formatting cleanup
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-18 10:47:56 +02:00
Wolfgang Bumiller
23e4a1ee3f
update api server to hyper git master
...
This is now an example requiring no future-compat anymore.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-17 12:12:23 +02:00
Wolfgang Bumiller
c8e11115d2
api: replace handler() with call()
...
An `fn` type can be more annoying to produce in some generic
cases, and we haven't really needed it yet.
Signed-off-by: Wolfgang Bumiller <wry.git@bumiller.com>
2019-06-23 11:19:49 +02:00
Wolfgang Bumiller
80343b1141
add make apitest
...
runs the api test server
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-06-18 17:53:43 +02:00
Wolfgang Bumiller
a64832aac2
testing a Router::api_dump method
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-06-12 17:24:59 +02:00
Wolfgang Bumiller
536072c712
cleanup
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-06-12 17:06:57 +02:00
Wolfgang Bumiller
fe46b11152
add an api-test module
...
Run with:
cargo run -p api-test -- SomeDirectory/
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-06-12 15:54:52 +02:00