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

aws-smithy-protocol-test

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

50 releases (30 breaking)

0.61.0 Dec 8, 2023
0.60.7 Mar 12, 2024
0.60.6 Feb 22, 2024
0.60.1 Dec 13, 2023
0.30.0-alpha Nov 24, 2021

#2824 in Network programming

Download history 9072/week @ 2024-02-04 11989/week @ 2024-02-11 10476/week @ 2024-02-18 11986/week @ 2024-02-25 14787/week @ 2024-03-03 12781/week @ 2024-03-10 13714/week @ 2024-03-17 13936/week @ 2024-03-24 12714/week @ 2024-03-31 14268/week @ 2024-04-07 13715/week @ 2024-04-14 12738/week @ 2024-04-21 14634/week @ 2024-04-28 10751/week @ 2024-05-05 9692/week @ 2024-05-12 10237/week @ 2024-05-19

46,040 downloads per month
Used in 409 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