#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

#2745 in Network programming

Download history 7442/week @ 2024-08-16 11016/week @ 2024-08-23 10841/week @ 2024-08-30 10423/week @ 2024-09-06 9712/week @ 2024-09-13 11030/week @ 2024-09-20 12626/week @ 2024-09-27 13028/week @ 2024-10-04 11499/week @ 2024-10-11 11770/week @ 2024-10-18 15464/week @ 2024-10-25 18927/week @ 2024-11-01 15188/week @ 2024-11-08 17176/week @ 2024-11-15 15747/week @ 2024-11-22 12300/week @ 2024-11-29

63,819 downloads per month
Used in 442 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
~260K SLoC