saddle-service 0.1.1

Saddle Service contracts, registration and invocation
Documentation
//! Saddle Service contracts, registration, exposure and in-process invocation.
//!
//! A V1 [`Service`] is one strongly typed asynchronous operation. Implementations
//! are registered once, resolved through [`ServiceClient`], and can optionally be
//! exposed through the transport-neutral JSON [`ExternalDispatcher`]. Network
//! listening and protocol framing belong to the application assembler.

mod contract;
mod external;
mod registry;

pub use contract::{Service, ServiceFuture, ServiceHandler};
pub use external::{
    ExternalDispatcher, ExternalDispatcherBuilder, ExternalRequest, ExternalResponse,
    ExternalStatus, MAX_EXTERNAL_REQUEST_BYTES, MAX_EXTERNAL_RESPONSE_BYTES,
    MAX_EXTERNAL_ROUTE_BYTES,
};
pub use registry::{
    ServiceClient, ServiceDescriptor, ServiceRegistry, ServiceRegistryBuilder, ServiceResolver,
};
pub use saddle_core::{CallContext, Result, SaddleError};