Commit Graph

664 Commits

Author SHA1 Message Date
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
tottoto 35c4946d35 chore: Use namespaced dependency feature (#1187) 2022-12-13 13:06:20 -05:00
tottoto 363c04a2e8 chore: Remove unused bytes from dependencies (#1186) 2022-12-13 13:06:13 -05:00
tottoto 2dd09c02bd chore: Fix clippy lint (#1181) 2022-12-13 11:29:29 -05:00
Rafael Lemos 3076e8251e feat(types): add support for DebugInfo error message type (#1179) 2022-12-12 14:11:09 -05:00
tottoto d00fd0838b chore: Update cargo-deny config (#1169) 2022-12-06 14:40:24 -05:00
tottoto df8dd896da chore(examples): Remove dummy echo implementation (#1178) 2022-12-05 12:08:41 -05:00
Lucio Franco 1efabf0003 chore: Fix CI msrv workflow (#1176) 2022-12-01 12:22:22 -05:00
Rafael Lemos 6cdb3d4685 feat(types): Add gRPC Richer Error Model support (RetryInfo) (#1095)
Add the code related to richer error model support to a new
`richer_error` module. This improves readability and hopefully will
make it easier to add new features to `tonic-types` in the future.
2022-12-01 11:48:06 -05:00
tottoto f7499c8a6a chore: Bump msrv to 1.60 (#1171) 2022-12-01 11:41:31 -05:00
bouzuya 95e8c8bdbb chore: Internal refactor to remove repeitition (#1144) 2022-11-30 14:32:49 -05:00
tottoto 5c8a5d709c chore(examples): Fix blocking-server (#1173) 2022-11-30 13:38:39 -05:00
Lucio Franco d6f0567818 chore: Prepare 0.8.4 (#1170) 2022-11-29 14:22:54 -05:00
Alex Pearson c7476fff42 fix(build): Fix CodeGen8uilder typo (#1165) (#1166) 2022-11-29 14:01:27 -05:00
tottoto 076a81ce6e chore(examples): Update to listenfd 1.0 (#1168) 2022-11-29 14:00:20 -05:00
tottoto 8318e756d4 chore(interop): Update to console 0.15 (#1167) 2022-11-29 14:00:10 -05:00
Lucio Franco dc079c12bf chore: Prepare v0.8.3 release (#1164) 2022-11-28 13:35:48 -05:00
Joan Antoni RE b53b387ced Fix some struct references on transport channel doc (#1152) 2022-11-28 12:27:50 -05:00
Lucio Franco c4525ba6ad feat(build): Add CodeGenBuilder (#1154)
This commit adds a new `CodeGenBuilder` that replaces the
client/server generate fn with a builder stlye that allows
adding config items in an non-breaking way. This also deprecates
both of the client/server generate fn in favor of the builder ones.
2022-11-28 12:10:44 -05:00
David Pedersen 542c5b37dc chore: update to axum 0.6.0 (#1155) 2022-11-28 10:40:46 -05:00
tottoto b65b52baf0 chore(interop): Update clap to 4.0.26 (#1162) 2022-11-28 10:39:34 -05:00
Artem Vorotnikov 933f560735 reflection: commit generated code (#1151) 2022-11-16 16:13:59 -05:00
Marco Neumann 33e22bbc5e fix: do not panic while encoding oversized bodies (#1142)
Fixes #1141.
2022-11-10 11:07:35 -05:00
Gian Marco Gherardi 3a542709a7 chore: Added protoc installation instruction for Windows (#1103) 2022-11-09 15:39:23 -05:00
bouzuya e188521149 feat(build): Add disable_comments option (#1127) 2022-11-08 11:08:19 -05:00
LIU JIE c9cadd4b23 chore: remove patch caused cargo error (#1140) 2022-11-08 10:17:54 -05:00
Aleksander 7153289b51 fix(reflection, health): Remove transport feature (#1112) 2022-11-07 12:00:17 -05:00
f82488c499 chore: Fix type in routeguide (#1136) 2022-11-07 10:58:11 -05:00
Lucio Franco 1f5bc9b9d5 feat(build): Add build_transport builder option (#1130) 2022-11-04 11:04:23 -04:00
Lucio Franco 6667ace032 Update minimal version of pin-project (#1132) 2022-11-01 12:53:18 -04:00
Francesco Guardiani a98d719fb4 feat(web): Removed Cors impl and replaced with tower-http's CorsLayer (#1123)
Fix #1122, see the issue for more details.

Signed-off-by: slinkydeveloper <francescoguard@gmail.com>
2022-10-31 13:56:36 -04:00
Francesco Guardiani 40536dc134 feat(web): Implement tower::Layer for tonic_web::Config (#1119)
Signed-off-by: slinkydeveloper <francescoguard@gmail.com>
2022-10-28 13:59:01 -04:00
Francesco Guardiani b409ddd478 feat: Expose Request#into_parts and Request#from_parts (#1118)
Signed-off-by: slinkydeveloper <francescoguard@gmail.com>
2022-10-19 10:25:21 -04:00
Nicolas Guiard 64e29c621b test(tonic-web): fix grpc_web_content_types() test not covering all cases (#1113) 2022-10-18 13:25:24 -04:00
Will-Low be1fe02e6e chore: bumping dependency axum to version 0.5.16 (#1110) 2022-10-15 10:18:19 -04:00