* transport: Support timeouts with "grpc-timeout" header * Apply suggestions from code review Co-authored-by: Lucio Franco <[email protected]> * Timeout -> GrpcTimeout and export TimeoutExpired * Clean up imports * Give header name a more proper home * Add fuzz tests for parsing header value into `grpc-timeout` * Map `TimeoutExpired` to `cancelled` status * Recover from timeout errors in the service * Refactor tests * Fix CI * Fix CI, again Co-authored-by: Lucio Franco <[email protected]>
23 lines
574 B
TOML
23 lines
574 B
TOML
[package]
|
|
name = "integration-tests"
|
|
version = "0.1.0"
|
|
authors = ["Lucio Franco <[email protected]>"]
|
|
edition = "2018"
|
|
publish = false
|
|
license = "MIT"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
tonic = { path = "../../tonic" }
|
|
prost = "0.7"
|
|
futures-util = "0.3"
|
|
bytes = "1.0"
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "net"] }
|
|
tokio-stream = { version = "0.1.5", features = ["net"] }
|
|
|
|
[build-dependencies]
|
|
tonic-build = { path = "../../tonic-build" }
|