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

aws-smithy-protocol-test

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

53 releases (32 breaking)

0.63.0 Oct 3, 2024
0.61.0 Dec 8, 2023
0.60.8 Jul 9, 2024
0.60.7 Mar 12, 2024
0.30.0-alpha Nov 24, 2021

#2734 in Network programming

Download history 9358/week @ 2024-07-29 9712/week @ 2024-08-05 8175/week @ 2024-08-12 8274/week @ 2024-08-19 11000/week @ 2024-08-26 10661/week @ 2024-09-02 10104/week @ 2024-09-09 9422/week @ 2024-09-16 11727/week @ 2024-09-23 13087/week @ 2024-09-30 12337/week @ 2024-10-07 11304/week @ 2024-10-14 13121/week @ 2024-10-21 16182/week @ 2024-10-28 17769/week @ 2024-11-04 15866/week @ 2024-11-11

63,403 downloads per month
Used in 431 crates (20 directly)

Apache-2.0

400KB
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

~11–19MB
~259K SLoC