#aws-sdk #validation #testing #protocols #compare #query-string #serialization #xml #nan

aws-smithy-protocol-test

A collection of library functions to validate HTTP requests against Smithy protocol tests

66 releases

0.63.14 Mar 2, 2026
0.63.10 Jan 31, 2026
0.63.7 Dec 8, 2025
0.63.6 Oct 30, 2025
0.30.0-alpha Nov 24, 2021

#2683 in Web programming

Download history 38853/week @ 2026-01-21 44211/week @ 2026-01-28 39056/week @ 2026-02-04 45183/week @ 2026-02-11 39882/week @ 2026-02-18 43873/week @ 2026-02-25 54602/week @ 2026-03-04 50779/week @ 2026-03-11 53172/week @ 2026-03-18 54371/week @ 2026-03-25 47150/week @ 2026-04-01 52362/week @ 2026-04-08 50901/week @ 2026-04-15 51484/week @ 2026-04-22 50894/week @ 2026-04-29 57396/week @ 2026-05-06

220,195 downloads per month
Used in 503 crates (22 directly)

Apache-2.0

435KB
9K SLoC

Smithy Protocol Tests

This library implements utilities for validating serializers & deserializers against Smithy protocol tests. Specifically, this crate includes support for:

  • MediaType-aware comparison for XML, JSON and AWS Query.
  • NaN/Infinty supporting floating point comparisons.
  • HTTP header & query string validators.

This crate is part of the AWS SDK for Rust and the smithy-rs code generator. In most cases, it should not be used directly.

Dependencies

~15–21MB
~292K SLoC