Skip to main content

aws_smithy_types/
lib.rs

1/*
2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6/* Automatically managed default lints */
7#![cfg_attr(docsrs, feature(doc_cfg))]
8/* End of automatically managed default lints */
9//! Protocol-agnostic types for smithy-rs.
10
11#![allow(clippy::derive_partial_eq_without_eq)]
12#![warn(
13    missing_docs,
14    rustdoc::missing_crate_level_docs,
15    missing_debug_implementations,
16    rust_2018_idioms,
17    unreachable_pub
18)]
19
20pub mod base64;
21pub mod big_number;
22pub mod body;
23pub mod byte_stream;
24pub mod checksum_config;
25/// A typemap for storing configuration.
26pub mod config_bag;
27pub mod date_time;
28pub mod endpoint;
29pub mod error;
30pub mod event_stream;
31pub mod primitive;
32pub mod retry;
33
34/// Types for carrying values selected from an operation's input through to telemetry.
35pub mod telemetry;
36pub mod timeout;
37
38/// Utilities for type erasure.
39pub mod type_erasure;
40
41mod blob;
42/// Document type and serde conversion utilities.
43pub mod document;
44mod number;
45pub mod str_bytes;
46
47pub use big_number::{BigDecimal, BigInteger};
48pub use blob::Blob;
49pub use date_time::DateTime;
50pub use document::Document;
51pub use number::Number;