Lucio Franco and GitHub
ff331199e4
feat(core): Default encoding/decoding limits ( #1335 )
...
* feat(core): Default encoding/decoding limits
This PR adds new defaults for both client and server max
encoding/decoding message size limits. By default, the max message
decoding size is `4MB` and the max message encoding size is
`usize::MAX`.
This is follow up work from https://github.com/hyperium/tonic/pull/1274
BREAKING: Default max message encoding/decoding limits
* update generated code
2023-03-30 16:59:08 +00:00
7a6b20d8ef
feat: add GrpcMethod extension into request for client ( #1275 )
...
* feat: add GrpcMethod extension into request for client
* refactor: change GrpcMethod fields into private and expose methods instead
* refactor: hide GrpcMethod::new in doc
---------
Co-authored-by: Lucio Franco <[email protected] >
2023-02-23 10:06:45 +00:00
Moncef AOUDIA and GitHub
9f716d8411
feat(codec): Configure max request message size ( #1274 )
...
* feat(codec): add max_message_size parameter
resolves #1097
* refactor(client): add max size parameters
* refactor(tonic-build): update server gen template
* refactor(tonic-build): update client template
* fix(tonic-build): update client template
* fix(tonic-build): small typo in server.rs
* fix(tonic-build): client.rs generator
* fix(tonic): add apply max message setting size to server
* fix(test): wrong message size
* fix: doctest + generated rs
2023-02-17 15:58:22 +00:00
tottoto and GitHub
b301013d58
chore(health): Generate file descriptor set in bootstrap test ( #1265 )
2023-02-13 15:20:48 +00:00
tottoto and GitHub
d2542dc034
feat: Rename api related to protobuf ( #1224 )
2023-01-10 11:16:57 -05:00
tottoto and GitHub
3ee1e6cc10
chore: Add test to check FILE_DESCRIPTOR_SET is valid ( #1217 )
2023-01-04 14:19:47 -05:00
tottoto and GitHub
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
Shrutesh Pachineela and GitHub
a562a3ce32
fix(build): Allow Services to be named Result ( #1203 )
...
closes #1156
2022-12-21 12:07:07 -05:00
tottoto and GitHub
204e8d05a7
chore(health): Update generated code ( #1207 )
2022-12-20 15:06:40 -05:00
tottoto and GitHub
bf22a740c3
chore: Update to 2021 edition ( #1188 )
2022-12-13 15:16:49 -05:00
Jan Teske and GitHub
25ea473abd
tonic-build: use unified syntax to clone Arcs ( #1182 )
2022-12-13 13:22:54 -05:00
tottoto and GitHub
363c04a2e8
chore: Remove unused bytes from dependencies ( #1186 )
2022-12-13 13:06:13 -05:00
tottoto and GitHub
2dd09c02bd
chore: Fix clippy lint ( #1181 )
2022-12-13 11:29:29 -05:00
Lucio Franco and GitHub
dc079c12bf
chore: Prepare v0.8.3 release ( #1164 )
2022-11-28 13:35:48 -05:00
Aleksander and GitHub
7153289b51
fix(reflection, health): Remove transport feature ( #1112 )
2022-11-07 12:00:17 -05:00
Lucio Franco and GitHub
1f5bc9b9d5
feat(build): Add build_transport builder option ( #1130 )
2022-11-04 11:04:23 -04:00
Marek Kuskowski and GitHub
c1b08dffac
feat(build): add cleanup-markdown feature flag ( #1086 )
2022-09-28 10:00:25 -04:00
Lucio Franco and GitHub
5723681777
chore: Prepare 0.8.1 release ( #1072 )
2022-09-07 10:33:19 -04:00
Ben Sully and GitHub
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
Lucio Franco
ec359ba35f
chore: Prepare 0.8 release ( #1044 )
2022-07-29 16:45:57 -04:00
Lucio Franco and GitHub
e87db5280e
chore: Prepare aux crates for release ( #955 )
2022-04-01 10:45:31 -04:00
Lucio Franco and GitHub
808c417cbd
chore: Prepare 0.10 release ( #954 )
2022-03-31 17:05:54 -04:00
Jesse Szwedko and GitHub
c78274e3fe
feat: Update prost to 0.10 ( #948 )
2022-03-30 10:43:06 -04:00
tison and GitHub
097e7e85a9
feat(health): Expose HealthService publically ( #930 )
2022-03-18 14:37:52 -07:00
Sylwester Rąpała and GitHub
c9e78c4d65
chore: Fulfill MIT license requirments ( #916 )
2022-02-18 13:56:47 -05:00
Matthias Vogelgesang and GitHub
d6c0fc112b
feat(build): use prettyplease to format output ( #890 ) ( #904 )
2022-02-10 13:20:52 -05:00
2b0ffee620
fix(health): Correctly implement spec for overall health ( #897 )
...
Co-authored-by: snowpoke <[email protected] >
2022-01-24 14:59:14 -05:00
tottoto and GitHub
366d888a4b
chore: Fix clippy lints ( #881 )
2022-01-12 16:32:40 -05:00
David Pedersen and GitHub
101f2f76d4
chore: revert to 2018 edition ( #847 )
...
Fixes https://github.com/hyperium/tonic/issues/843
2021-12-07 09:49:07 +01:00
Lucio Franco and GitHub
2fe7131a23
chore: Prepare 0.6.0 release ( #811 )
2021-10-25 10:25:56 -04:00
Lucio Franco and GitHub
23c1392fb7
fix(tonic): Remove Sync requirement for streams ( #804 )
2021-10-24 21:48:05 -04:00
Lucio Franco and GitHub
1f3df8db9e
chore: Upgrade to 2021 edition ( #808 )
2021-10-24 21:12:20 -04:00
Lucio Franco and GitHub
cc2b1634e2
chore: Update intra doc link lint name ( #805 )
2021-10-22 11:31:36 -04:00
c1fe31c1a3
health, reflection: make rustfmt dependency optional ( #785 )
...
Co-authored-by: Lucio Franco <[email protected] >
2021-10-19 11:22:34 -04:00
Eliza Weisman and GitHub
09805ece45
feat: Update prost and friends to 0.9 ( #791 )
2021-10-19 10:59:28 -04:00
David Pedersen and GitHub
efe0865d26
chore: Prepare tonic v0.5.1 and tonic-health 0.4.1 ( #737 )
2021-08-09 17:20:36 +02:00
Blake Willoughby and GitHub
6ee638d940
feat(health): Expose grpc_health_v1 file descriptor set ( #620 )
2021-07-13 15:35:35 -04:00
Lucio Franco
5bb1a029a1
Fix tonic-types and health versions
2021-07-08 15:57:25 -04:00
040e3a4811
chore: Prepare v0.5 release ( #706 )
...
* bump tonic version to 0.5
* Update changelog for 0.5
* Update CHANGELOG.md
Co-authored-by: David Pedersen <[email protected] >
* address comments
Co-authored-by: David Pedersen <[email protected] >
2021-07-08 15:53:14 -04:00
David Pedersen and GitHub
acdb3273bb
chore: update prost, and related crates, to 0.8 ( #703 )
...
* chore: update prost, and related crates, to 0.8
Updates prost, prost-derive, prost-build, and prost-types to 0.8.
* Update the last few places
2021-07-08 15:02:02 -04:00
Juan J. Jimenez-Anca and GitHub
4b26e78109
add docs for health checks ( #599 )
2021-05-01 17:30:54 +02:00
David Pedersen and GitHub
4001665821
chore: Add deny(broken_intra_doc_links) to all crates ( #616 )
2021-04-29 15:57:21 +02:00
Lucio Franco and GitHub
8fa6daae92
chore: Prepare tonic 0.4.2 and health 0.3.1 ( #605 )
2021-04-13 18:20:13 -04:00
49f6137673
feat(health): Expose proto and client ( #471 ) ( #602 )
...
Co-authored-by: kvwu <[email protected] >
Co-authored-by: Lucio Franco <[email protected] >
2021-04-13 17:54:18 -04:00
Lucio Franco
e511f17c1c
Fix tonic-health cargo path issues
2021-01-15 13:56:24 -05:00
Lucio Franco and GitHub
fda2d689d4
chore: Prepare 0.4 release ( #538 )
...
* Prepare `0.4` release
* Fix cargo issues
2021-01-15 13:38:36 -05:00
fdda5ae26a
Upgrade to Tokio 1.0.0 ecosystem ( #530 )
...
* Upgrade Tonic to Tokio 1.0
Work in progress for updating Tonic to Tokio 1.0. Since tower has not
been released to crates.io, a git dependency is taken instead.
* Upgrade Tonic to Tokio 1.0 phase 2
* tonic: remove tower-* deps
* Apply suggestions from code review
Co-authored-by: Ed Marshall <[email protected] >
Co-authored-by: Lucio Franco <[email protected] >
2021-01-11 12:18:34 -05:00
Cameron and GitHub
6622bb1449
Update tonic logo ( #508 )
...
* Use fancy new logo
* Remove shell.nix
2021-01-05 16:03:33 -05:00
Hossein Mayboudi and GitHub
9f1957f29d
Add SERVICE_UNKNOWN to health.proto ( #507 )
...
There is a new field. https://github.com/grpc/grpc/blob/master/doc/health-checking.md
2021-01-05 16:02:59 -05:00
Akhil Velagapudi and GitHub
76de87eec5
Remove unnecessary dependencies in tonic-health ( #502 )
...
* remove dependency on bytes
* remove dependency on async-stream
2021-01-05 16:02:13 -05:00