28 Commits

Author SHA1 Message Date
philippeitis
7ef96f2a31 Tweak workspace members 2022-09-27 22:06:07 -07:00
philippeitis
a93ff473ab Use workspace Cargo.toml 2022-09-27 21:52:39 -07:00
philippeitis
9142859612 Move client.rs to common dependency 2022-09-27 21:48:31 -07:00
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
586a7d3264 Update root Cargo.toml file 2022-09-25 01:32:16 +00: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
Sebastian Thiel
5c22221f77 Update to latest released yup-oauth2 v7 2022-06-01 21:12:45 -04:00
Sebastian Thiel
b92afd37c0 upgrade top-level manifest's yup-oauth2 to avoid confusion 2022-03-09 14:09:48 +08:00
Sebastian Thiel
21914b2c4d prevent publishing of top-level manifest 2021-08-31 07:51:04 +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
Petros Angelatos
af73936b95 rename cmn to client
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2020-12-19 00:46:06 +01:00
Sebastian Thiel
94cf4ad569 Make 'cargo test' work by pinning relevant versions 2020-04-12 17:36:05 +08:00
Guy Taylor
6d0f4cac7c Pin yup-oauth2 version to 1.x
This ensures the yup-oauth2 version stays with the 1.x major version
allowing the yup-oauth2 project to make a breaking change via a 2.x
major version.

Ref: https://github.com/dermesser/yup-oauth2/pull/86
2019-07-03 18:25:01 +08:00
Lewin Bormann
7ef8049d29 chore(deps): Pin hyper and mime crates to fix compilation. 2018-04-03 19:24:13 +02:00
Sebastian Thiel
1323d0dccb fix(tests): use new serde map implementation
No fun, this one.
2017-02-04 13:03:42 +01:00
Sebastian Thiel
0337435cd4 imp(serde): upgrade to v0.9
This provides proc macros, greatly simplifying the build
projects.
2017-02-03 08:23:00 +01:00
Corey Richardson
ac5886e47e Relicense to dual MIT/Apache-2.0
Closes https://github.com/Byron/google-apis-rs/issues/142
2016-01-10 19:43:30 -05:00
Erick Tryzelaar
8179f3bf89 fix(cmn): get cmn compiling on nightly rust
Closes #131
2015-10-18 11:29:34 -07:00
Sebastian Thiel
fa011315c3 fix(test): add rustc_serialize to test-crate
A top-level `cargo test` didn't work anymore thanks to a missing
mention of rustc_serialize.

[skip ci]
2015-04-15 09:04:16 +02:00
Sebastian Thiel
b9a81a900e fix(cmn): serde cleanup;JsonError pub fields 2015-03-20 12:05:29 +01:00
Sebastian Thiel
71c827b306 feat(doit): initial part writing
We are a state-machine, and handle parts of it correctly.
However, we don't yet write the boundary at all, and could improve
our use of match.
2015-03-18 17:53:39 +01:00
Sebastian Thiel
020300af15 feat(type-params): ground work for upload media
This might mean we need additional type parameters, but I will see how
it's going to work out.

In theory, we could define a new trait for Seek+Read, but this would
mean that we couldn't contain owned streams.

For max flexibility, it's better to have additional type parameters
and use BorrowMut to allow ownership, and borrow.
2015-03-08 09:09:18 +01:00
Sebastian Thiel
475163ec29 feat(mako): now sets up entire project structure
That way, we have a common library to pull in from the main repository,
and a space for testing new code (in a partial implementation).

Next there will be generated object structures.
2015-03-02 16:50:22 +01:00
Sebastian Thiel
11b6fe212f fix(rename): mv youtube-rs to google-apis-rs 2015-03-02 12:05:42 +01:00
Sebastian Thiel
f13c2960ab feat(service): added authenticator arg
That will allow interaction between client and authentication attempts.
It also shows how cumbersome it is to deal with all these
generics ... but hey, you gotta do what you gotta do.

If boxes of pointers would be used, it would be easier to handle, but
enforces a certain memory model. That, of course, is not desired.
2015-03-01 10:21:03 +01:00
Sebastian Thiel
d4869cfefc fix(cargo): make sure we get correct openssl vers. 2015-02-28 19:11:53 +01:00
Sebastian Thiel
dda847607f feat(all): initial commit
Base project with everything it will need to grow:
* CI
* documentation
* basic cargo
2015-02-27 10:23:31 +01:00