Skip to main content

typespec/
lib.rs

1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT License.
3
4#![doc = include_str!("../README.md")]
5#![cfg_attr(docsrs, feature(doc_cfg))]
6#![warn(missing_docs)]
7
8pub mod error;
9#[cfg(feature = "http")]
10pub mod http;
11#[cfg(feature = "json")]
12pub mod json;
13#[cfg(feature = "xml")]
14pub mod xml;
15
16pub use bytes::Bytes;
17pub use error::{Error, Result};