Commit Graph
367 Commits
Author SHA1 Message Date
Andrew HickmanandGitHub 930c805127 fix: MetadataKey::from_bytes returns an error (#1246)
BREAKING: `Metadata::from_bytes` returns an error now
2023-02-08 09:09:29 -05:00
tottotoandGitHub 0ac0ce8ce7 chore: Remove unused dependencies (#1244) 2023-02-04 05:12:17 -05:00
tottotoandGitHub e2b1e60276 chore(tonic): Remove outdated allow dead code lint annotation (#1230) 2023-01-11 13:26:01 -05:00
tottotoandGitHub ee6ccfbcc2 chore: Update to base64 0.21 (#1228) 2023-01-11 11:25:38 -05:00
tottotoandGitHub 8828e0340c chore(tonic): Remove redundant tls feature gate (#1226) 2023-01-10 16:02:40 -05:00
tottotoandGitHub 0d35d7fbaf chore(tonic): Remove outdated allow lint (#1222) 2023-01-09 12:49:31 -05:00
Thom WrightandGitHub 0ca0630993 tonic: set a conn timeout for balanced connections (#1215)
The `endpoint` supplied has a connection_timeout parameter which was
being ignored in this case.
2023-01-06 15:39:18 -05:00
tottotoandGitHub 2d7e14f513 chore: Fix doc warning (#1214)
* chore(docs): Fix lint warning

* chore: Add ci to check cargo doc
2023-01-04 14:20:24 -05:00
tottotoandGitHub a72cf04b44 chore: Remove unused tracing-futures from dependencies (#1208) 2022-12-20 16:13:46 -05:00
tottotoandGitHub bf22a740c3 chore: Update to 2021 edition (#1188) 2022-12-13 15:16:49 -05:00
Jan TeskeandGitHub 25ea473abd tonic-build: use unified syntax to clone Arcs (#1182) 2022-12-13 13:22:54 -05:00
tottotoandGitHub 35c4946d35 chore: Use namespaced dependency feature (#1187) 2022-12-13 13:06:20 -05:00
tottotoandGitHub 2dd09c02bd chore: Fix clippy lint (#1181) 2022-12-13 11:29:29 -05:00
Lucio FrancoandGitHub dc079c12bf chore: Prepare v0.8.3 release (#1164) 2022-11-28 13:35:48 -05:00
Joan Antoni REandGitHub b53b387ced Fix some struct references on transport channel doc (#1152) 2022-11-28 12:27:50 -05:00
David PedersenandGitHub 542c5b37dc chore: update to axum 0.6.0 (#1155) 2022-11-28 10:40:46 -05:00
Marco NeumannandGitHub 33e22bbc5e fix: do not panic while encoding oversized bodies (#1142)
Fixes #1141.
2022-11-10 11:07:35 -05:00
Lucio FrancoandGitHub 6667ace032 Update minimal version of pin-project (#1132) 2022-11-01 12:53:18 -04:00
Francesco GuardianiandGitHub b409ddd478 feat: Expose Request#into_parts and Request#from_parts (#1118)
Signed-off-by: slinkydeveloper <[email protected]>
2022-10-19 10:25:21 -04:00
Will-LowandGitHub be1fe02e6e chore: bumping dependency axum to version 0.5.16 (#1110) 2022-10-15 10:18:19 -04:00
walterandGitHub 0b03b30ccc feat(transport): add from_listener for TcpIncoming (#1093) 2022-10-03 07:08:43 -04:00
Lucio FrancoandGitHub a7e29c9213 chore: Prepare 0.8.2 release (#1089) 2022-09-28 10:56:22 -04:00
Lucio FrancoandGitHub cddd992666 fix(transport): Bump axum for CVE-2022-3212 (#1088) 2022-09-28 10:27:58 -04:00
56ff45d9a3 feat: add Result<T> type alias for std::result::Result<T, tonic::Status> (#1085)
* add `Result<T>` type alias for `std::result::Result<T, tonic::Status>`

* Allow user to override the error type

Co-authored-by: David Pedersen <[email protected]>

* add rustdoc for `tonic::Result`

* cargo fmt

Co-authored-by: David Pedersen <[email protected]>
2022-09-26 12:24:33 -04:00
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
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
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
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
Marcus GriepandGitHub a585a72293 feat!: remove codegen dependency on compression feature (#1004) 2022-06-13 17:48:27 -04:00
Matthias VogelgesangandGitHub 91b73f9fc3 docs: document Streaming::message() return values (#1006) 2022-05-23 15:30:06 -04:00
Lucio FrancoandGitHub 1b0b525115 chore: Prepare 0.7.2 release (#998) 2022-05-05 10:19:30 -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
cui fliterandGitHub 6d95473877 chore: fix some typos (#984)
Signed-off-by: cuishuang <[email protected]>
2022-04-28 01:37:12 +02:00
tottotoandGitHub fd596a8f58 chore(tonic): Update rustls-pemfile to 1.0 (#979) 2022-04-26 09:31:45 -04:00
Noah KennedyandGitHub b4f96343af fix: don't enable default features in tower (#972) 2022-04-13 16:30:30 -04:00
Lucio Franco 9836977d77 bump tonic to 0.7.1 2022-04-04 16:33:03 -04:00
Lucio FrancoandGitHub f1ca90f288 feat(transport): Add channel feature flag (#960) 2022-04-04 15:31:40 -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
tottotoandGitHub 9dab8be5fc chore: Fix clippy lints (#950) 2022-03-31 13:42:00 -04:00