2020-11-03 03:03:21 +08:00
|
|
|
[package]
|
2021-10-21 01:21:15 +08:00
|
|
|
name = "aws-smithy-protocol-test"
|
2021-10-13 05:42:36 +08:00
|
|
|
version = "0.0.0-smithy-rs-head"
|
|
|
|
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
|
|
|
|
description = "A collection of library functions to validate HTTP requests against Smithy protocol tests."
|
2022-03-23 05:29:04 +08:00
|
|
|
edition = "2021"
|
2021-04-15 04:14:19 +08:00
|
|
|
license = "Apache-2.0"
|
2023-11-11 02:51:04 +08:00
|
|
|
repository = "https://github.com/smithy-lang/smithy-rs"
|
2020-11-03 03:03:21 +08:00
|
|
|
|
|
|
|
[dependencies]
|
2020-11-13 02:55:48 +08:00
|
|
|
# Not perfect for our needs, but good for now
|
2022-05-10 01:14:14 +08:00
|
|
|
assert-json-diff = "1.1"
|
2023-06-13 01:09:29 +08:00
|
|
|
http = "0.2.1"
|
2023-02-10 01:02:19 +08:00
|
|
|
pretty_assertions = "1.3"
|
Improve client init time by switching to regex-lite (#3269)
Each client initialization was taking between 1 and 2 milliseconds,
regardless if the client had been constructed before or not. For
example, if a customer wants five clients with different credentials
providers, that could be 10 milliseconds of time spent in
`Client::from_conf`. Approximately 98% of this time was spent compiling
regular expressions for the endpoint partition resolver.
This change switches everything over to the regex-lite crate, which has
faster regex compile times, and shouldn't have much of an impact on
performance for our specific use-cases (small strings, only evaluated at
client initialization).
The use of regex was entirely removed in aws-sigv4 since it was overkill
for what it was being used for.
----
_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
2023-12-01 03:28:07 +08:00
|
|
|
regex-lite = "0.1.5"
|
2021-05-18 07:54:49 +08:00
|
|
|
roxmltree = "0.14.1"
|
2023-06-13 01:09:29 +08:00
|
|
|
serde_json = "1"
|
|
|
|
thiserror = "1.0.40"
|
2023-10-14 08:57:14 +08:00
|
|
|
aws-smithy-runtime-api = { path = "../aws-smithy-runtime-api", features = ["client"] }
|
2021-12-01 19:26:47 +08:00
|
|
|
|
2022-01-06 01:46:57 +08:00
|
|
|
|
2021-12-01 19:26:47 +08:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
2023-12-21 02:11:43 +08:00
|
|
|
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|
2021-12-01 19:26:47 +08:00
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
2021-12-02 02:01:53 +08:00
|
|
|
# End of docs.rs metadata
|