Crate micro_kit [] [src]

Micro-Kit

The Micro-Kit module is meant to be a curated collection of crates (Re-Exported) and helper functionality to build RESTful micro-services with standardized logging, healthchecking, metrics, and configuration

The motivation for the module is from Dropwizard, a collection of java libs that help quickly build standardized RESTful applications. This kit is nowhere close to as useful (yet) but we can aspire!

Reexports

pub extern crate yaml_rust as yaml;
pub extern crate iron;
pub extern crate router;
pub extern crate serde;
pub extern crate serde_bytes as bytes;
pub extern crate serde_json as json;
pub extern crate chrono;

Modules

config

Configuration based on YAML files for apps.

healthcheck

Healthchecks for apps.

http

RESTful API helpers.

logging

Logging configuration for apps.

metrics

A framework for adding metrics to an app.

Structs

TimeStamp

A TimeStamp newtype around the i64 so we can implement serialization to and from Epoch timestamps in a type safe manner.