#http-request #aws-smithy #aws-sdk #testing #validation #comparison #protocols

aws-smithy-protocol-test

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

54 releases (32 breaking)

new 0.63.1 Mar 10, 2025
0.63.0 Oct 3, 2024
0.62.0 Aug 8, 2024
0.61.0 Dec 8, 2023
0.30.0-alpha Nov 24, 2021

#2761 in Network programming

Download history 16869/week @ 2024-11-19 14714/week @ 2024-11-26 15727/week @ 2024-12-03 16318/week @ 2024-12-10 15647/week @ 2024-12-17 5084/week @ 2024-12-24 9225/week @ 2024-12-31 13628/week @ 2025-01-07 14013/week @ 2025-01-14 15844/week @ 2025-01-21 16205/week @ 2025-01-28 18215/week @ 2025-02-04 16807/week @ 2025-02-11 17313/week @ 2025-02-18 15911/week @ 2025-02-25 14781/week @ 2025-03-04

68,211 downloads per month
Used in 446 crates (21 directly)

Apache-2.0

405KB
8K 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

~12–20MB
~282K SLoC