Commit Graph

223 Commits

Author SHA1 Message Date
Lewin Bormann
1247c35901 Merge pull request #63 from Narfinger/master
chore: update serde version
2017-06-13 08:00:45 +02:00
Narfinger
4afaa75c23 chore: update serde version 2017-06-01 23:17:09 +09:00
Lewin Bormann
6c488ea236 Merge pull request #61 from briansmith/update-ring
Update dependencies.
2017-05-10 20:28:22 +02:00
Brian Smith
22a3076924 Update dependencies.
The current Git master doesn't build with Rust 1.17 because the
version of Rustls used on master doesn't built with Rust 1.17.

* Update the base64 dependency to ensure the version with a buffer
overflow fix is used.

* Update hyper-rustls to one that uses a version of Rustls that builds
with Rust 1.17, and that uses *ring* 0.9+, to ensure there are no
problems with accidentally linking multiple versions of *ring*, to make
the build easier to set up (especially on Windows), and to keep things
working once *ring* 0.7.* gets yanked.

* Update the rust-openssl dependency while we're at it.
2017-05-09 10:42:32 -10:00
Lewin Bormann
c27738c1c0 Merge pull request #58 from e-oz/master
Add with_sub method for ServiceAccountKey
2017-02-26 09:10:52 +01:00
OZ
09488622a7 Make "sub" argument simple String in with_sub constructor 2017-02-26 01:23:20 +01:00
OZ
4e45d4358d Add with_sub method for ServiceAccountKey - required to read email from user accounts 2017-02-22 03:50:21 +01:00
Lewin Bormann
076b943768 chore(version): Bump -> 1.0.5 2017-02-04 17:05:25 +01:00
Lewin Bormann
7da7f39085 chore(deps): Move pubsub example to hyper 0.10. 2017-02-04 17:03:48 +01:00
Lewin Bormann
9908ab287b chore(deps): Add hyper-rustls to Cargo.toml. 2017-02-04 17:03:47 +01:00
Lewin Bormann
38fd851493 fix(service_account): Fix bad PR #51: JWTs need RSA signatures. 2017-02-04 17:03:47 +01:00
Lewin Bormann
732d65aa98 chore(deps): Update drive example to hyper 0.10 + rustls. 2017-02-04 17:03:44 +01:00
Sebastian Thiel
c76ddc46da Merge pull request #54 from Byron/master
Prepare for proc_macros and serde-derive
2017-02-03 16:15:05 +01:00
Sebastian Thiel
49e96f1701 chore(travis): bring back nightly featurec configuration 2017-02-03 08:16:40 +01:00
Sebastian Thiel
cb17aa6298 chore(version): v1.0.4
Update changelog as well.

You can use
`clog --patch -c changelog.md`
to auto-update based on commit messages.
2017-02-03 06:55:17 +01:00
Sebastian Thiel
59584b240e imp(serde):use proc_macros and serde-derive
With Rust 1.15, proc macros have been stabilized. Therefore
custom build scripts are not required anymore.

This commit removes all the previous machinery and the
need for nightly.
2017-02-03 06:40:00 +01:00
Lewin Bormann
59193d4e2d chore(deps): Upgraded examples to hyper=0.10
This should get rid of openssl-sys 0.7 once and for all (#51).
2017-02-02 19:27:43 +01:00
Lewin Bormann
d4ebbc47b2 chore(language): Sort imports and migrate from deprecated types.
std:#️⃣:SipHasher is not std::collections::hash_map::DefaultHasher
(really!?).
Imports were unordered.
2017-01-31 19:27:50 +01:00
Lewin Bormann
b140fe2611 Merge pull request #53 from dermesser/link-error-test
fix(deps): Fix openssl dependency chaos and test failure (#51)
2017-01-31 19:01:34 +01:00
Lewin Bormann
567ff12cd4 fix(deps): Fix dependency problems and openssl test failure.
Sigh, #51 again.
2017-01-31 18:54:07 +01:00
Lewin Bormann
1639b1648f Revert "fix(openssl): Update to 0.9.x"
The patch introduced an unwrap() failure in a test.

This reverts commit fe0a094b45.
2017-01-30 19:54:12 +01:00
Lewin Bormann
11e2b5b983 revert(openssl): Revert #51; it introduces a second version of openssl 2017-01-30 19:20:00 +01:00
Lewin Bormann
6a74ec6962 test(examples): Build examples during CI. 2017-01-30 19:07:46 +01:00
Lewin Bormann
db9824776d chore(lockfile): Update cargo.lock to fix linker errors.
like https://travis-ci.org/dermesser/yup-oauth2/jobs/195491584
2017-01-30 19:01:42 +01:00
Lewin Bormann
3c39c201fc Merge branch 'martell-master'
Fixes #51
2017-01-30 18:57:55 +01:00
Martell Malone
fe0a094b45 fix(openssl): Update to 0.9.x
This also updates hyper to 0.10.x because it uses openssl
2017-01-26 10:56:47 +00:00
Lewin Bormann
608b2af781 doc(service_account): auth/token URIs aren't hardcoded anymore
Instead, they're taken from the ServiceAccountKey JSON structure.
2016-12-23 10:00:40 +01:00
Lewin Bormann
20f066076a Merge pull request #50 from dermesser/allow-nightly-fails
Allow nightly fails
2016-11-26 11:02:13 +01:00
Lewin Bormann
641c5f5a68 chore(ci): Only allow failures with nightly rust and no-codegen. 2016-11-26 10:51:50 +01:00
Lewin Bormann
8426f1ca53 chore(ci): Allow continuous builds to fail with rust nightly.
Some of the crates used by the rust-nightly build are more than a bit
flaky.
2016-11-26 10:48:51 +01:00
Lewin Bormann
63c4aab65b Merge pull request #49 from dermesser/use-docs-rs
Use docs.rs for documentation
2016-11-26 10:45:46 +01:00
Lewin Bormann
121eeb1388 chore(docs): Switch from self-hosted to docs.rs documentation
(#49)
2016-11-06 10:05:54 +01:00
Lewin Bormann
cbc7543082 chore(version): Bump to 1.0.1 in order to fix links in Cargo.toml 2016-10-22 16:50:12 +02:00
Lewin Bormann
73d54ef60a Merge pull request #47 from Byron/master
docs(links): link from byron/ to dermesser/
2016-10-22 16:49:35 +02:00
Sebastian Thiel
3b33164c37 docs(links): link from byron/ to dermesser/
The only link not working just yet is coveralls, which
apparently needs a login by the owner and minor configuration
to work (e.g. webhooks).

Also please note that the Cargo.toml has changed to fix the
documentation link. It would need a re-publish to fix it appears.
2016-10-22 10:58:17 +02:00
Lewin Bormann
0192de612d docs(README): Add crates.io badge 2016-10-15 14:59:20 +02:00
Lewin Bormann
bfe64350af Merge pull request #46 from Byron/master
fix(serde): use serde_derive
2016-10-09 17:43:46 +02:00
Lewin Bormann
eaca1f2283 fix(travis-key): Fix typo in previous API key 2016-10-09 17:23:45 +02:00
Lewin Bormann
8ed09e8b68 chore(repomove): Fix the other Travis URL, too. 2016-10-09 17:18:00 +02:00
Lewin Bormann
b6e49250fc chore(repomove): Update Travis build badge URL 2016-10-09 17:16:53 +02:00
Lewin Bormann
4c03a57e01 chore(auth): Update token for gh-pages pushes
Fixes #45
2016-10-09 17:15:10 +02:00
Sebastian Thiel
11baf2f712 fix(serde): use serde_derive
serde_macros is no longer maintained and will eventually
fail on nightly.
Also in a hopefully not-so-distant future, we will be able
to use macros 1.1 in stable, and thus get rid of the
complication required for the hybrid approach.
2016-10-09 16:38:52 +02:00
Lewin Bormann
c128f3f64d chore(link-update): Update links in README to point to moved repository. 2016-10-09 11:13:53 +02:00
Sebastian Thiel
0bc851f5de doc(CHANGELOG): updated
`clog --patch  -C changelog.md` is usually a good basis.
It's possible to set the version to something specific as well,
which might be preferred in this case.
2016-10-09 10:02:07 +02:00
Lewin Bormann
01b933a1c6 chore(version): Bump version to 1.0.0 2016-10-09 09:56:23 +02:00
Lewin Bormann
a8479b8ddb feat(device): Make the Device flow independent of Google
This is a breaking change; it's supposed to fix #1. Also, it's a
proposal -- not sure if the benefits outweigh the cost of this.

The example/auth.rs binary is not broken by this, as it doesn't use the
API that changed. The tests have been updated accordingly.
2016-10-09 09:55:33 +02:00
Lewin Bormann
08d79de313 fix(tests): A deactivated key leads to "Signature errors" 2016-10-01 15:40:45 +02:00
Lewin Bormann
970d188794 feat(service_account): Enable service account oauth with other providers
The Token URI is already in the client key, so we should just use that
information instead of hardcoding it.
2016-10-01 15:33:55 +02:00
Lewin Bormann
eb6267a2dd fix(deps): Pin dependencies to specific (major) versions
Amends #24
2016-10-01 15:30:09 +02:00
Lewin Bormann
2b77d01229 Merge pull request #40 from dermesser/crate-docs
docs(crate): Update crate documentation
2016-09-28 22:15:22 +02:00