Skip to content

Commit

Permalink
chore(examples): Remove timeout example
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Oct 28, 2024
1 parent eaa81dd commit 0606b8a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 85 deletions.
13 changes: 1 addition & 12 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,16 +98,6 @@ name = "tower-client"
path = "src/tower/client.rs"
required-features = ["tower"]

[[bin]]
name = "timeout-server"
path = "src/timeout/server.rs"
required-features = ["timeout"]

[[bin]]
name = "timeout-client"
path = "src/timeout/client.rs"
required-features = ["timeout"]

[[bin]]
name = "multiplex-server"
path = "src/multiplex/server.rs"
Expand Down Expand Up @@ -278,13 +268,12 @@ compression = ["tonic/gzip"]
tls = ["tonic/tls"]
tls-rustls = ["dep:http", "dep:hyper", "dep:hyper-util", "dep:hyper-rustls", "dep:tower", "tower-http/util", "tower-http/add-extension", "dep:rustls-pemfile", "dep:tokio-rustls", "dep:pin-project", "dep:http-body-util"]
dynamic-load-balance = ["dep:tower"]
timeout = ["tokio/time", "dep:tower", "tower?/timeout"]
tls-client-auth = ["tonic/tls"]
types = ["dep:tonic-types"]
h2c = ["dep:hyper", "dep:tower", "dep:http", "dep:hyper-util"]
cancellation = ["dep:tokio-util"]

full = ["gcp", "routeguide", "reflection", "autoreload", "health", "grpc-web", "tracing", "uds", "streaming", "mock", "tower", "json-codec", "compression", "tls", "tls-rustls", "dynamic-load-balance", "timeout", "tls-client-auth", "types", "cancellation", "h2c"]
full = ["gcp", "routeguide", "reflection", "autoreload", "health", "grpc-web", "tracing", "uds", "streaming", "mock", "tower", "json-codec", "compression", "tls", "tls-rustls", "dynamic-load-balance", "tls-client-auth", "types", "cancellation", "h2c"]
default = ["full"]

[dependencies]
Expand Down
28 changes: 0 additions & 28 deletions examples/src/timeout/client.rs

This file was deleted.

45 changes: 0 additions & 45 deletions examples/src/timeout/server.rs

This file was deleted.

0 comments on commit 0606b8a

Please sign in to comment.