Auri and GitHub
4942dd4a43
tonic-build: option to emit Arc<Self> as server receiver ( #1352 )
...
This implements an option to emit `Arc<Self>` instead of `&self` in
server traits. This enables implementor to reference `Self` data for
indefinite duration, which may be useful for streaming requests.
Fixes : #1351
2023-04-19 19:36:43 +00:00
Lucio Franco and GitHub
ae75801604
chore: Prepare 0.9.2 release ( #1362 )
2023-04-17 15:16:32 +00:00
Lucio Franco and GitHub
01cba4992c
chore: Prepare 0.9.1 release ( #1343 )
...
* Update documentation url in cargo tomls
* Bump versions to 0.9.1
* Update guides
* Add prepare/publish scripts
* Update changelog
2023-04-03 14:31:03 +00:00
Lucio Franco and GitHub
3a497f2ca2
chore: Prepare v0.9.0 release ( #1337 )
2023-03-31 18:41:53 +00:00
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
d2542dc034
feat: Rename api related to protobuf ( #1224 )
2023-01-10 11:16:57 -05:00
tottoto and GitHub
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 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
fdff11115b
feat(reflection): Add dummy implementation for extension ( #1209 )
2022-12-22 10:49:51 -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
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
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
Artem Vorotnikov and GitHub
933f560735
reflection: commit generated code ( #1151 )
2022-11-16 16:13:59 -05: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 Light and GitHub
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
tottoto and GitHub
8287988c21
chore(reflection): Use write macro instead of write_fmt ( #1015 )
2022-06-15 11:23:29 -04:00
Lucio Franco and GitHub
e87db5280e
chore: Prepare aux crates for release ( #955 )
2022-04-01 10:45:31 -04:00
tottoto and GitHub
366d888a4b
chore: Fix clippy lints ( #881 )
2022-01-12 16:32:40 -05: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
cc2b1634e2
chore: Update intra doc link lint name ( #805 )
2021-10-22 11:31:36 -04:00
David Pedersen and GitHub
4b0ece6d28
chore: fix clippy lints ( #707 )
2021-07-09 18:23:55 +02: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
4001665821
chore: Add deny(broken_intra_doc_links) to all crates ( #616 )
2021-04-29 15:57:21 +02:00
Amr Hassan and GitHub
830b305b98
Fix docstring typo ( #593 )
2021-03-31 13:32:46 +02:00
c54f24721c
feat: Implement gRPC Reflection Service ( #340 )
...
Co-authored-by: Samani G. Gikandi <[email protected] >
2021-02-16 11:07:51 -05:00