1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
//! Define the web service as a set of routes, resources, middlewares, serializers, ...
//!
//! [`ServiceBuilder`] combines all the various components (routes, resources,
//! middlewares, serializers, deserializers, catch handlers, ...) and turns it
//! into an HTTP service.
//!
//! [`ServiceBuilder`]: struct.ServiceBuilder.html

mod builder;
mod new_service;
// TODO: Rename this `service`?
mod web;

pub use self::builder::ServiceBuilder;
pub use self::new_service::NewWebService;
pub use self::web::WebService;