#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

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

#2826 in Network programming

Download history 2156/week @ 2023-12-24 3716/week @ 2023-12-31 5617/week @ 2024-01-07 7262/week @ 2024-01-14 11292/week @ 2024-01-21 10479/week @ 2024-01-28 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 11301/week @ 2024-04-07

52,542 downloads per month
Used in 407 crates (18 directly)

Apache-2.0

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

~9MB
~168K SLoC