Commit Graph
606 Commits
Author SHA1 Message Date
David PedersenandGitHub ee3d0dfe75 feat(tonic): impl Clone for Status using Arc (#1076) 2022-09-12 11:31:30 -04:00
Lucio FrancoandGitHub 5723681777 chore: Prepare 0.8.1 release (#1072) 2022-09-07 10:33:19 -04:00
919d28b2b9 feat(transport): Expose hyper's H2 adaptive window on server (#1071)
Co-authored-by: Adam Chalmers <[email protected]>
2022-09-06 14:37:20 -04:00
Joe DahlquistandGitHub 2a83f8ba1a expose Extensions::into_http and Status::from_error (#1067) 2022-08-24 16:04:26 -04:00
Markus WesterlindandGitHub 523a55044f chore: Reduce how much code gets monomorphized (#1032) 2022-08-23 14:29:15 -04:00
Ben SullyandGitHub 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
Masakazu MuraokaandGitHub 2d66a0aa30 Update helloworld-tutorial.md (#1057)
grpcurl command have been run successfully with modifieded like above.
2022-08-15 10:33:01 -04:00
Lucio FrancoandGitHub 433c4ebd80 chore: Add missing changelog entry (#1055) 2022-08-09 11:29:32 -07:00
Opisthoteuthis agassiziiandGitHub fb840583d3 chore(docs): Update docs to mention new protoc requirements in tonic >= 0.8.0 (#1050) 2022-08-09 09:31:03 -07:00
9be4e2479d chore: Update docs to reflect changes to compression feature (#1046)
Co-authored-by: Lucio Franco <[email protected]>
2022-08-02 09:38:08 -07:00
Lucio Franco ec359ba35f chore: Prepare 0.8 release (#1044) 2022-07-29 16:45:57 -04:00
Alan LawrenceandGitHub 2a7c610011 Make TcpIncoming public (#1037) 2022-07-29 14:31:53 -04:00
4288fd3517 reflection: add with_service_name method (#1042)
* reflection: add with_service_name method

Fixes: #682

* Update tonic-reflection/src/server.rs

Co-authored-by: Lucio Franco <[email protected]>
2022-07-29 14:30:33 -04:00
Ross LightandGitHub e40ae113ad reflection: export server types (#1043)
Makes it easier to store a reflection server in a variable
or get the gRPC service's name.
2022-07-29 12:12:01 -04:00
Bryan StensonandGitHub 9ea03c2c44 chore(doc): Fix typo in endpoint docs (#1026) 2022-06-28 16:47:34 -04:00
feae96c5be feat: Decouple NamedService from the transport feature (#969)
Co-authored-by: Eliza Weisman <[email protected]>
2022-06-21 13:48:57 -04:00
Mick van GelderenandGitHub 1d2083a1a6 feat(build): Add option to emit rerun-if-changed instructions (#1021) 2022-06-21 10:27:46 -04:00
Lucio FrancoandGitHub 10f6d2f1a9 feat: Add Grpc::with_origin for clients (#1017) 2022-06-20 09:36:51 -04:00
Quentin PerezandGitHub 4388d822c4 tonic: Introduce a new method on Endpoint to override the origin (#1013) 2022-06-20 09:29:11 -04:00
tottotoandGitHub 8287988c21 chore(reflection): Use write macro instead of write_fmt (#1015) 2022-06-15 11:23:29 -04:00
Marcus GriepandGitHub a585a72293 feat!: remove codegen dependency on compression feature (#1004) 2022-06-13 17:48:27 -04:00
Marcus GriepandGitHub d9f5c75112 chore: update clap dependency, fix deprecations (#1016) 2022-06-13 16:34:27 -04:00
Matthias VogelgesangandGitHub 91b73f9fc3 docs: document Streaming::message() return values (#1006) 2022-05-23 15:30:06 -04:00
Joseph LeBlancandGitHub ec9ee61925 Small wording change for newbie-friendly clarity (#995) 2022-05-20 13:01:52 -04:00
Brandon WilliamsandGitHub de2e4ac077 feat(build): Better support for custom codecs (#999)
BREAKING CHANGE: `CODEC_PATH` moved from const to fn
2022-05-05 12:52:03 -04:00
Lucio FrancoandGitHub 1b0b525115 chore: Prepare 0.7.2 release (#998) 2022-05-05 10:19:30 -04:00
Lucio FrancoandGitHub 6857c834c2 chore: Fix rustls server example (#997) 2022-05-04 15:34:37 -04:00
Gus WynnandGitHub 1dd5ad2b07 fix(transport): Emit HttpsUriWithoutTlsSupport only w/ tls feat (#996) 2022-05-04 13:26:34 -04:00
2e19b660e5 tonic: Document Ascii and Binary (#993)
This fixes the problem where MetadataValue::from<i16> (and other numeric types) aren't shown in Rustdoc, because they're implemented for Metadata<Ascii>, and Ascii is hidden.

Co-authored-by: Adam Chalmers <[email protected]>
2022-05-03 12:09:15 -04:00
edc5a0d88d feat: Add TryFrom implementations for MetadataValue (#990)
Co-authored-by: Adam Chalmers <[email protected]>
2022-05-02 13:38:42 -04:00
Lucio FrancoandGitHub 2112ecc426 chore: Prepare tonic-build 0.7.1 (#988) 2022-04-28 12:56:30 -04:00
cui fliterandGitHub 6d95473877 chore: fix some typos (#984)
Signed-off-by: cuishuang <[email protected]>
2022-04-28 01:37:12 +02:00
David PedersenandGitHub 13b55df1d0 chore: update tower-http (#985)
* Update tower-http

* one more update
2022-04-27 15:14:55 +02:00
tottotoandGitHub fd596a8f58 chore(tonic): Update rustls-pemfile to 1.0 (#979) 2022-04-26 09:31:45 -04:00
4533a6e20e fix(build): Reduce Default bound requirement (#974)
Co-authored-by: David Pedersen <[email protected]>
2022-04-20 15:38:38 -04:00
Noah KennedyandGitHub b4f96343af fix: don't enable default features in tower (#972) 2022-04-13 16:30:30 -04:00
Lucio FrancoandGitHub 03fb09ccb8 chore: Add rustls examples (#968) 2022-04-07 14:24:04 -04:00
Lucio FrancoandGitHub 9e0d21f3eb chore: Add rust cache for CI (#961) 2022-04-04 16:36:17 -04:00
Lucio Franco 9836977d77 bump tonic to 0.7.1 2022-04-04 16:33:03 -04:00
Lucio FrancoandGitHub 88695c05ad chore: Prepare 0.7.1 release (#962) 2022-04-04 16:31:03 -04:00
Lucio FrancoandGitHub f1ca90f288 feat(transport): Add channel feature flag (#960) 2022-04-04 15:31:40 -04:00
tottotoandGitHub 738ccba5e7 chore(web): Minor enhancement in document (#956) 2022-04-01 11:25:18 -04:00
tottotoandGitHub c0970521f9 chore(interop): Use clap rename_all option instead of lint allowing (#957) 2022-04-01 11:25:09 -04:00
Lucio FrancoandGitHub e87db5280e chore: Prepare aux crates for release (#955) 2022-04-01 10:45:31 -04:00
Lucio FrancoandGitHub 808c417cbd chore: Prepare 0.10 release (#954) 2022-03-31 17:05:54 -04:00
David PedersenandGitHub d142e1aa4c chore: update to axum 0.5 (#953) 2022-03-31 21:57:16 +02:00
TuetuopayandGitHub d4bd4758dd feat(build): Expose Prost generation plugin (#947) 2022-03-31 14:52:38 -04:00
tottotoandGitHub 9dab8be5fc chore: Fix clippy lints (#950) 2022-03-31 13:42:00 -04:00
tottotoandGitHub 619654e3e6 chore(tonic): Update rustls-pemfile to 0.3 (#951) 2022-03-31 13:41:34 -04:00
350ccf95e4 chore: Update tokio-util to 0.7 (#949)
Co-authored-by: Adam Chalmers <[email protected]>
2022-03-30 10:44:07 -04:00