http_endpoint/lib.rs
1// Copyright (C) 2020 Daniel Mueller <deso@posteo.net>
2// SPDX-License-Identifier: GPL-3.0-or-later
3
4#[macro_use]
5mod endpoint;
6mod error;
7
8use std::borrow::Cow;
9
10pub use endpoint::Endpoint;
11pub use error::Error;
12
13pub type Str = Cow<'static, str>;
14pub type Bytes = Cow<'static, [u8]>;