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

aws-smithy-protocol-test

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

51 releases (30 breaking)

0.61.0 Dec 8, 2023
0.60.8 Jul 9, 2024
0.60.7 Mar 12, 2024
0.60.1 Dec 13, 2023
0.30.0-alpha Nov 24, 2021

#2 in #smithy

Download history 14494/week @ 2024-04-04 12234/week @ 2024-04-11 13863/week @ 2024-04-18 15457/week @ 2024-04-25 11008/week @ 2024-05-02 10015/week @ 2024-05-09 10010/week @ 2024-05-16 9811/week @ 2024-05-23 11821/week @ 2024-05-30 12898/week @ 2024-06-06 14771/week @ 2024-06-13 10494/week @ 2024-06-20 9015/week @ 2024-06-27 10432/week @ 2024-07-04 9569/week @ 2024-07-11 7376/week @ 2024-07-18

38,105 downloads per month
Used in 414 crates (18 directly)

Apache-2.0

385KB
7.5K 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

~6.5–8.5MB
~152K SLoC