* missing `use rocket_contrib::json::Json`
* `unwrap_or` is better than `or` followed by `unwrap`
* the psutil crate already has hostname info
* the psutil crate doesn't provide an uptime function if you're on a unix system.
* once you setup the hostinfo route, your example says to curl the index
* your docker link is broken
* missing `use rocket_contrib::json::Json`
* `unwrap_or` is better than `or` followed by `unwrap`
* the psutil crate already has hostname info
* the psutil crate doesn't provide an uptime function if you're on a unix system.
* once you setup the hostinfo route, your example says to curl the index
* your docker link is broken