Crate aws_smithy_async

source ·
Expand description

Future utilities and runtime-agnostic abstractions for smithy-rs.

Async runtime specific code is abstracted behind async traits, and implementations are provided via feature flag. For now, only Tokio runtime implementations are provided.


  • Useful runtime-agnostic future implementations.
  • Async runtime agnostic traits and implementations.
  • Test utilities for time and sleep
  • Time source abstraction to support WASM and testing


  • Given an Instant and a Duration, assert time elapsed since Instant is equal to Duration. This macro allows for a 5ms margin of error.