Sebastian Thiel
8d7309b78c
rename google-api-client to google-apis-common
2022-09-25 19:43:56 +08:00
Sebastian Thiel
013dc54ac8
Remove obsolete code for client.rs, replace it with a note.
...
The note says that it's not worth investigating how to make the build
system not look for this file if in API mode, as an empty file that
isn't used hurts no one and probably keeps everything simpler.
2022-09-25 19:37:40 +08:00
philippeitis
e61090cc75
Replace () with documented NoToken for clarity
2022-09-25 01:48:03 +00:00
philippeitis
cac4666204
Remove breaking changes, add TODOs
2022-09-24 11:55:55 -07:00
philippeitis
7078038857
Use generic Authy trait in place of yup_oauth2
2022-09-23 00:21:27 -07:00
JohnDimas
6d0a9740da
Resolves 'Panic on http2 timeout '
2022-07-21 14:57:37 +02:00
David Schmitt
7293ff5b10
Fix the client source to pass cargo test
...
* change `http::Uri` -> `hyper::http::Uri`
* add dependency on `tower-service`
2022-06-03 21:03:54 +01:00
Kyle Gentle
c5ff239961
feat(Hub): Support custom connectors
...
Switch the constraints on Hub types to use public traits based on
tower::service, as recommended by Hyper. This enables support for
custom connectors beyond hyper_rustls::HttpsConnector
Closes #337 .
2022-06-01 21:12:32 -04:00
Federico Cergol
544be6d2a2
refactor: remove various errors structs
...
BREAKING CHANGE: removed errors structs exposed in the Delegate and as return value from the `doit` methods
2022-03-07 22:32:33 +01:00
Sebastian Thiel
74621c9c37
Explicitly specify Send requirement where dyn traits are used ( #296 )
2021-08-26 09:05:39 +08:00
Sebastian Thiel
a22c18725c
Make ReadSeek require 'Send', related to #294
2021-08-25 07:52:02 +08:00
Remco Bloemen
33e83bb610
Correct multipart line endings
2021-08-04 09:37:06 +08:00
Petter Rasmussen
19088aa178
Fix resumable uploads
...
Only increment the start offset when the response is successful and seek
to the start offset on each iteration.
2021-06-06 15:08:33 +02:00
Dennis Vestergaard Værum
6d56955037
Bug-fix for the upload error: Failed at uploading 'client requires absolute-form URIs'
2021-04-19 14:55:32 +02:00
Sebastian Thiel
3b087bf3e2
Assuure Delegate is Send ( #271 )
2021-04-14 16:30:53 +08:00
Sebastian Thiel
9c339da955
Simplify type system to leverage 'Sync' types
...
These are generally available now that we use hyper's async
APIs along with the most recent yup-hypermock.
2021-04-14 09:52:27 +08:00
Sebastian Thiel
fe6ccfed3f
Remove RefCell around autenticator - they are sync now
2021-04-14 09:38:07 +08:00
Sergiu Puscas
819e1ccce5
std::iter not needed
2021-04-05 18:44:00 +02:00
Sergiu Puscas
83fed44db0
Run code through cargo fmt.
2021-04-05 18:41:44 +02:00
Sergiu Puscas
6ec46827e7
Fix clippy warnings.
2021-04-05 18:41:17 +02:00
Sergiu Puscas
30ea80bf31
Use hyper::body::to_bytes() instead of aggregate().
...
This should not truncate the content.
2021-04-05 18:27:43 +02:00
Dennis Vestergaard Værum
1f776ddc54
Bug fix: It was not possible to use FileGetCall to download binary files
2021-04-02 07:53:48 +02:00
Sebastian Thiel
891f126a56
Groupsmigration compiles
2021-04-01 09:58:13 +08:00
Daniel Rodgers-Pryor
b8a66bc666
Update hyper, rustls and yup-oauth2
...
I've switched to a new M1 laptop which couldn't build the old dependencies because the old ring library version doesn't compile on mac arm (but new version do). There's no way to update ring in isolation, so I've got to update the whole tree at once.
2021-02-04 23:49:07 +11:00
Sebastian Thiel
b88e1633ed
Fix rust compile warnings
2021-01-06 22:45:28 +08:00
Petros Angelatos
af73936b95
rename cmn to client
...
Signed-off-by: Petros Angelatos <petrosagg@gmail.com >
2020-12-19 00:46:06 +01:00