Files
tonic/tonic-health
Ben Sully 0a2a2f3ac5 tonic-health: commit generated code (#1065)
* tonic-health: commit generated code rather than generating at build time

This saves users from needing protoc available on their path if they're not
generating other tonic code at build time, either.

The generated modules can be regenerated by enabling the `gen-proto`
feature, which will trigger the relevant part of the build script.

* Check generated code for tonic-health matches in CI

* Use bootstrap test to generate/check validity of generated code

As suggested by @LucioFranco in https://github.com/hyperium/tonic/pull/1065\#discussion_r951580189.
This avoids the need for a feature which would show
up in docs.rs, and achieves the same goals via CI.
2022-08-23 10:31:37 -04:00
..
2021-05-01 17:30:54 +02:00

tonic-health

A tonic based gRPC healthcheck implementation. It closely follows the official health checking protocol, although it may not implement all features described in the specs.

Please follow the example in the main repo to see how it works.

Features

  • transport: Provides the ability to set the service by using the type system and the NamedService trait.