Unverified Commit 3c1b71f3 authored by John DiSanti's avatar John DiSanti Committed by GitHub
Browse files

Fix deprecation warnings in `aws-smithy-http-server` examples (#1462)

parent 6e3e010e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ authors = ["Smithy-rs Server Team <smithy-rs-server@amazon.com>"]
description = "A smithy Rust service to retrieve information about Pokémon."

[dependencies]
clap = { version = "3", features = ["derive"] }
clap = { version = "3.2.1", features = ["derive"] }
hyper = {version = "0.14", features = ["server"] }
tokio = "1"
tower = "0.4"
+2 −2
Original line number Diff line number Diff line
@@ -17,10 +17,10 @@ use tower_http::trace::TraceLayer;
#[clap(author, version, about, long_about = None)]
struct Args {
    /// Hyper server bind address.
    #[clap(short, long, default_value = "127.0.0.1")]
    #[clap(short, long, action, default_value = "127.0.0.1")]
    address: String,
    /// Hyper server bind port.
    #[clap(short, long, default_value = "13734")]
    #[clap(short, long, action, default_value = "13734")]
    port: u16,
}