Lucio Franco and GitHub
4e1fcece15
fix(codegen): Use wellknown types from prost-types ( #49 )
...
This change introduces the ability to let prost-build
provide the fully qualifed type path for types that
start with `google.protobuf`.
2019-10-05 13:16:09 -04:00
Lucio Franco and GitHub
ed3e7e95a5
fix(codec): Fix buffer decode panic on full ( #43 )
...
* fix(codec): Fix buffer decode panic on full
This is a naive fix for the buffer growing beyond capacity
and producing a panic. Ideally we should do a better job
of not having to allocate for new messages by using
a link list.
* fmt
2019-10-04 19:17:41 -04:00
John Doneth and Lucio Franco
bd2b4e0b77
chore(docs): Documentation corrections ( #41 )
2019-10-04 16:44:43 -04:00
James Nugent and Lucio Franco
2c5c3a282a
fix(transport): Attempt to load RSA private keys in rustls ( #39 )
...
Currently, using an RSA key - or indeed any text which is not a
PEM-encoded PKCS8-format key with RusTLS panics with an index-out-of-
range exception.
This commit introduces two new types of `TlsError` which indicate
problems with loading a certificate or private key:
- `CertificateParseError`, indicating that the certificate cannot be
parsed
- `PrivateKeyParseError`, indicating that the private key cannot be
parsed.
Additionally, in the case that reading the private key as PKCS8 fails,
we now try loading it as an RSA key before failing.
2019-10-04 11:31:17 -04:00
John Doneth and Lucio Franco
2b564aeb06
chore(docs): Add documentation for modified tonic-build output directory ( #40 )
...
* improve docs for modified OUT_DIR
* rustfmt
2019-10-04 11:26:53 -04:00
John Doneth and Lucio Franco
0218d58c28
feat(transport): Expose http/2 settings ( #28 )
...
* expose http2 settings
* add client http2 options
2019-10-04 10:08:37 -04:00
Kevin Zhang and Lucio Franco
afa9d9d236
Fix typo in examples readme ( #36 )
2019-10-03 16:09:39 -04:00
Lucio Franco and GitHub
4559613c37
feat(codgen): Add default implementations for the generated serve… ( #27 )
...
* Rename servce -> server
* Add default impl for server trait
2019-10-02 16:01:44 -04:00
Lucio Franco and GitHub
2670b349f9
fix(codegen): Fix Empty protobuf type and add unimplemented ( #26 )
...
* Add license attribute to tonic-build
* fix(codegen): Fix Empty protobuf type and add unimplemented
* Remove syn full feature
2019-10-01 23:46:54 -04:00
Lucio Franco
2734d3af28
Point tonic to root readme
2019-10-01 22:32:06 -04:00
Lucio Franco
c1db64244e
Fix spelling of helloworld
2019-10-01 22:15:44 -04:00
Lucio Franco and GitHub
a282b6682d
chore(release): Prepare 0.1.0-alpha.1 release ( #24 )
2019-10-01 22:13:52 -04:00
Lucio Franco and GitHub
8f80d0f6d1
chore(docs): Update tonic-build docs ( #22 )
2019-10-01 19:34:45 -04:00
Lucio Franco
09c77d4713
Attempt to make CI work for PRs
2019-10-01 19:27:59 -04:00
Lucio Franco and GitHub
40973238d6
Add CI workflow ( #23 )
...
* Add CI workflow
* Delete interop.yml
* Delete test.yml
* deny warnings
* Fix unused mut
2019-10-01 19:26:17 -04:00
Lucio Franco
b8483b92f9
Update logos
2019-10-01 17:53:10 -04:00
Lucio Franco
bee8acd8c3
more readme updates
2019-10-01 17:20:22 -04:00
Lucio Franco
8aa4e2a790
Update docs logo
2019-10-01 17:10:00 -04:00
Lucio Franco
08d8795d17
more docs
2019-10-01 17:08:32 -04:00
Lucio Franco
ca69b41def
more assets and readme cleanup
2019-10-01 16:48:10 -04:00
Lucio Franco
e02e814cee
more readme cleanup
2019-10-01 16:45:13 -04:00
Lucio Franco
3c1b2e4bb5
more readme updates
2019-10-01 16:40:42 -04:00
Lucio Franco and GitHub
e53fa13457
Update README.md
2019-10-01 16:37:50 -04:00
Lucio Franco
9355292373
add new banner
2019-10-01 16:33:20 -04:00
Lucio Franco
5c3cd1cce4
fm
2019-10-01 16:29:36 -04:00
Juan Alvarez and Lucio Franco
56e89385b3
Clippy ( #20 )
...
* pin all alpha dependencies
* fix some clippy warnings
2019-10-01 15:55:58 -04:00
Juan Alvarez and Lucio Franco
cd0b8424b9
pin all alpha dependencies ( #19 )
2019-10-01 15:54:32 -04:00
Juan Alvarez and Lucio Franco
d275785c55
Update dependencies ( #18 )
...
* update dependencies
* tonic-examples: Lock -> Mutex
2019-10-01 15:04:07 -04:00
Simon Chemouil and Lucio Franco
02d14da3d6
Fix serde version in examples ( #17 )
2019-10-01 10:00:29 -04:00
Bhargav and Lucio Franco
6fe8957fa7
Add note on required dependencies ( #16 )
2019-09-30 21:55:13 -04:00
Lucio Franco
9af614e5f7
fix examples
2019-09-30 19:36:18 -04:00
Lucio Franco
c5042b14c3
Fix tests
2019-09-30 19:13:27 -04:00
Bhargav and Lucio Franco
1c751d4404
add note on required dependencies ( #15 )
...
* add note on required dependencies
* Include build dependencies in codegen
2019-09-30 19:03:07 -04:00
Lucio Franco
cb325c69a7
fmt
2019-09-30 14:10:38 -04:00
Lucio Franco
35c2422cf0
Merge branch 'master' of github.com:LucioFranco/tonic
2019-09-30 14:10:33 -04:00
Lucio Franco
dd327faee2
add more to cargo toml and fix openssl
2019-09-30 14:10:25 -04:00
John Doneth and Lucio Franco
3edaa424d9
Include proto macros ( #13 )
2019-09-30 14:05:37 -04:00
Lucio Franco
49872ce904
more readme improvements
2019-09-29 22:59:15 -04:00
Lucio Franco
f4336115c8
more readme work
2019-09-29 22:55:33 -04:00
Lucio Franco
6ab906d036
remove tracing from docs
2019-09-29 22:55:16 -04:00
Lucio Franco
a9f7992585
Remove more tODO's
2019-09-29 22:38:28 -04:00
Lucio Franco
d81ca1ae56
rename tonic
2019-09-29 21:51:39 -04:00
Lucio Franco
5c4a2304d5
add badges
2019-09-29 21:50:47 -04:00
Lucio Franco
63770cdc2e
more clean up
2019-09-29 21:43:16 -04:00
Lucio Franco
701f6965b0
more css
2019-09-29 21:42:36 -04:00
Lucio Franco
5e2447cb5a
fix width
2019-09-29 21:42:15 -04:00
Lucio Franco
02487bec3a
add readme and templates
2019-09-29 21:41:08 -04:00
Lucio Franco
529c3fc0ab
Add examples readme
2019-09-29 21:01:29 -04:00
Lucio Franco
a8ef9d6c42
Add tls example with rustls
2019-09-29 19:45:05 -04:00
Lucio Franco
2c2b7d7904
Add auth and lb example
2019-09-29 18:33:28 -04:00