Skip to content
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4,735 changes: 0 additions & 4,735 deletions rust-runtime/Cargo.lock

This file was deleted.

65 changes: 54 additions & 11 deletions rust-runtime/aws-smithy-http-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aws-smithy-http-server"
version = "0.65.7"
version = "0.66.0"
authors = ["Smithy Rust Server <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
Expand All @@ -13,41 +13,84 @@ Server runtime for Smithy Rust Server Framework.
publish = true

[features]
aws-lambda = ["dep:lambda_http"]
default = []
unredacted-logging = []
request-id = ["dep:uuid"]
aws-lambda = ["dep:lambda_http"]

[dependencies]
aws-smithy-cbor = { path = "../aws-smithy-cbor" }
aws-smithy-http = { path = "../aws-smithy-http", features = ["rt-tokio"] }
aws-smithy-json = { path = "../aws-smithy-json" }
aws-smithy-runtime-api = { path = "../aws-smithy-runtime-api", features = ["http-02x"] }
aws-smithy-types = { path = "../aws-smithy-types", features = ["http-body-0-4-x", "hyper-0-14-x"] }
aws-smithy-runtime-api = { path = "../aws-smithy-runtime-api" }
aws-smithy-types = { path = "../aws-smithy-types", features = [
"http-body-1-x",
] }
aws-smithy-xml = { path = "../aws-smithy-xml" }
aws-smithy-cbor = { path = "../aws-smithy-cbor" }

bytes = "1.10.0"
futures-util = { version = "0.3.29", default-features = false }
http = "0.2.12"
http-body = "0.4.6"
hyper = { version = "0.14.26", features = ["server", "http1", "http2", "tcp", "stream"] }
lambda_http = { version = "0.8.4", optional = true }

http = "1"
http-body = "1.0"
hyper = { version = "1", features = ["server", "http1", "http2"] }
hyper-util = { version = "0.1", features = [
"tokio",
"server",
"server-auto",
"server-graceful",
"service",
"http1",
"http2",
] }
http-body-util = "0.1"

lambda_http = { version = "0.17", optional = true }

mime = "0.3.17"
nom = "7.1.3"
pin-project-lite = "0.2.14"
regex = "1.11.1"
serde_urlencoded = "0.7"
thiserror = "2"
tokio = { version = "1.40.0", features = ["full"] }
tower = { version = "0.4.13", features = ["util", "make"], default-features = false }
tower-http = { version = "0.3", features = ["add-extension", "map-response-body"] }
tower = { version = "0.4.13", features = [
"util",
"make",
], default-features = false }
tower-http = { version = "0.6", features = [
"add-extension",
"map-response-body",
] }
tracing = "0.1.40"
uuid = { version = "1.1.2", features = ["v4", "fast-rng"], optional = true }

[dev-dependencies]
aws-smithy-legacy-http-server = { path = "../aws-smithy-legacy-http-server" }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sure I'll find out but...why do we have this dependency?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This dependency along with its benchmark, needs to be removed. While it was initially added to include some AI-generated benchmarking, the generated benchmark needs significant improvement. However, I'd prefer not to delay this PR further by waiting for a proper benchmark framework to be implemented.

clap = { version = "4", features = ["derive"] }
hyperlocal = "0.9"
hyper014 = { package = "hyper", version = "0.14", features = ["server", "http1", "http2", "stream"] }
pretty_assertions = "1"
hyper-util = { version = "0.1", features = [
"tokio",
"client",
"client-legacy",
"http1",
"http2",
] }
rustls-pemfile = "2"
tokio-rustls = "0.26"
tracing-subscriber = { version = "0.3", features = ["fmt"] }
tower = { version = "0.4.13", features = ["util", "make", "limit"] }
tower-http = { version = "0.6", features = ["timeout"] }

[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
rustdoc-args = ["--cfg", "docsrs"]
# End of docs.rs metadata

[[bench]]
name = "compare_hyper_versions"
harness = false
Loading
Loading