748 Commits

Author SHA1 Message Date
tottoto 3f4d7432b9 chore(types): Turn off unused features (#1266) 2023-02-14 14:47:43 +00:00
tottoto d9a8f10324 chore(tonic): Remove duplicated code (#1267) 2023-02-14 14:47:11 +00:00
Velichko Anton aa69a023f7 Expose Response#into_parts and Response#from_parts (#1263)
* chore: change the default visibility from pub(crate) to pub for from_parts and into_parts pair.

* chore: add docs for the Response#into_parts and Response#from_parts
2023-02-13 18:54:37 +00:00
Nick Cameron 7c0e9c853c Make some functionality of Status public (#1256)
* Make some functionality of Status public

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* Update tonic/src/status.rs

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
Co-authored-by: Lucio Franco <luciofranco14@gmail.com>
2023-02-13 15:29:19 +00:00
tottoto b301013d58 chore(health): Generate file descriptor set in bootstrap test (#1265) 2023-02-13 15:20:48 +00:00
山岚 17d6a4b576 feat(transport): added support for EC keys (#1145)
* tonic: allow TLS to read ECKeys.

Fixes: #1143
Signed-off-by: Yu Juncen <yu745514916@live.com>

* tonic: minimize the scope of published function.

Signed-off-by: Yu Juncen <yu745514916@live.com>

---------

Signed-off-by: Yu Juncen <yu745514916@live.com>
2023-02-13 15:16:21 +00:00
tottoto 69ec5df648 chore(examples): Remove unsafe from grpc-web-client (#1262) 2023-02-09 18:55:17 +00:00
tottoto 82770713b5 chore(examples): Add missing dep to hyper (#1225) 2023-02-08 18:25:28 +00:00
Andrew Hickman 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
tottoto b3567a394f chore: Add cargo-machete to detect unused dependencies (#1259) 2023-02-08 09:08:21 -05:00
tottoto 2e3e9acf7b chore(interop): Use pico-args instead of clap (#1242) 2023-02-07 09:45:32 -05:00
tottoto 09c13fac90 chore: Add windows-sys and hermit-abi to cargo-deny skip-tree (#1257)
* chore: Add windows-sys to cargo-deny skip-tree

* chore: Add hermit-abi to cargo-deny skip-tree
2023-02-07 09:41:05 -05:00
tottoto 8a6eb50b1e chore(types): Remove outdated generated file (#1239)
This file was generated by the previous version of prost-build.
This behaviour was fixed in https://github.com/tokio-rs/prost/pull/726.
2023-02-04 05:14:13 -05:00
tottoto 0ac0ce8ce7 chore: Remove unused dependencies (#1244) 2023-02-04 05:12:17 -05:00
Richard ff642f9233 feat(build): Builder: add {enum,message}_attributes (#1234)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2023-01-17 14:25:21 -05:00
tottoto 4c69157cef chore(interop): Lock clap version to 4.0 (#1240)
* chore(interop): Lock clap version to 4.0

* chore(interop): Lock clap_lex to 0.3.0
2023-01-17 14:24:36 -05:00
tottoto e2b1e60276 chore(tonic): Remove outdated allow dead code lint annotation (#1230) 2023-01-11 13:26:01 -05:00
tottoto 63f2e95be3 chore(web): Update to base64 0.21 (#1235) 2023-01-11 12:16:59 -05:00
tottoto ee6ccfbcc2 chore: Update to base64 0.21 (#1228) 2023-01-11 11:25:38 -05:00
tottoto 54c37a7c51 chore(examples): Turn off warp default features (#1227) 2023-01-10 16:02:48 -05:00
tottoto 8828e0340c chore(tonic): Remove redundant tls feature gate (#1226) 2023-01-10 16:02:40 -05:00
tottoto e326a91b13 chore: Update deny config (#1223) 2023-01-10 11:17:38 -05:00
tottoto d2542dc034 feat: Rename api related to protobuf (#1224) 2023-01-10 11:16:57 -05:00
tottoto 0d35d7fbaf chore(tonic): Remove outdated allow lint (#1222) 2023-01-09 12:49:31 -05:00
tottoto 1bef5f5757 chore(examples): Remove relative path from reading data (#1220) 2023-01-09 12:47:40 -05:00
Thom Wright 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
tottoto 2ec0f87767 chore(examples): Remove unnecessary asyncronous file io to read data for example (#1219) 2023-01-06 14:34:51 -05:00
tottoto b6d9fd69ae chore(reflection): Add file descriptor set generation (#1213)
Co-authored-by: Lucio Franco <luciofranco14@gmail.com>
2023-01-05 12:03:26 -05:00
tottoto b7dffac931 chore(types): Refactor ErrorDetails constructor (#1218) 2023-01-05 12:03:18 -05:00
Rafael Lemos 03b4735bb4 feat(types): Add gRPC Richer Error Model support (QuotaFailure) (#1204) 2023-01-04 14:24:09 -05:00
tottoto 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
tottoto 3ee1e6cc10 chore: Add test to check FILE_DESCRIPTOR_SET is valid (#1217) 2023-01-04 14:19:47 -05:00
tottoto c772a786a9 chore: Refactor bootstrap test (#1216)
* chore: Remove unnecessary conversions to string in bootstrap tests

* chore: Simplify assertion in bootstrap tests
2023-01-04 14:19:28 -05:00
tottoto cc42d1f88c feat(types): Expose FILE_DESCRIPTOR_SET (#1210) 2022-12-22 14:05:22 -05:00
tottoto fdff11115b feat(reflection): Add dummy implementation for extension (#1209) 2022-12-22 10:49:51 -05:00
Shrutesh Pachineela a562a3ce32 fix(build): Allow Services to be named Result (#1203)
closes #1156
2022-12-21 12:07:07 -05:00
tottoto a72cf04b44 chore: Remove unused tracing-futures from dependencies (#1208) 2022-12-20 16:13:46 -05:00
tottoto 204e8d05a7 chore(health): Update generated code (#1207) 2022-12-20 15:06:40 -05:00
tottoto b45c5b5fa7 chore(examples): Clarify dependencies (#1205) 2022-12-20 11:29:45 -05:00
tottoto 3ee028de1f chore: Fix ci yaml indent style (#1201) 2022-12-19 09:20:09 -05:00
tottoto d9578d7461 chore: Use baptiste0928/cargo-install@v1 to install cargo-hack (#1198) 2022-12-19 09:14:07 -05:00
tottoto a8f7e49366 chore(build): Fix clippy lint (#1197) 2022-12-16 12:23:51 -05:00
tottoto a457eb5f40 chore: Update to Swatinem/rust-cache@v2 (#1196) 2022-12-16 11:35:56 -05:00
tottoto c3e5044fca chore(examples): Remove unused pin-project from dependencies (#1195) 2022-12-15 12:59:27 -05:00
tottoto 77fd2a551e chore: Use setup-rust-action v1 to setup rust in ci (#1194) 2022-12-15 11:52:54 -05:00
tottoto 797efb2307 chore: Use actions/checkout@v3 in ci (#1193) 2022-12-15 11:02:27 -05:00
tottoto 73fdefbeeb chore: Use RUSTFLAGS in clippy job for style consistency (#1192) 2022-12-15 10:43:40 -05:00
tottoto 4e5c0b29ba chore: Add clippy to ci (#1189) 2022-12-14 09:42:33 -05:00
tottoto bf22a740c3 chore: Update to 2021 edition (#1188) 2022-12-13 15:16:49 -05:00
Jan Teske 25ea473abd tonic-build: use unified syntax to clone Arcs (#1182) 2022-12-13 13:22:54 -05:00