Commit Graph

231 Commits

Author SHA1 Message Date
Lewin Bormann
0068f4b15e chore(ci): Attempt at fixing CI on OS X. 2018-03-25 11:52:07 +02:00
Lewin Bormann
b6732329a0 chore(api): Update use of pubsub client API. 2018-03-24 20:42:04 +01:00
Lewin Bormann
4252d37283 Merge pull request #65 from martell/feat/rustls
feat(jwt): use rustls and remove openssl
2017-07-09 11:27:05 +02:00
Martell Malone
f6d0fa0260 feat(jwt): use rustls and remove openssl
This removes the need for the remaining C interfaces.
Building any rust library with openssl adds a bunch
of depends such as foreign types via ffi and pkgconfg.
You are also required to have a prebuilt openssl.
Cross building and keeping up to date should be easier
with a pure rust implementation.
2017-06-26 16:29:56 +01:00
Lewin Bormann
8e7060b041 fix(deps): Fix hyper_rustls dependency for service_account example. 2017-06-22 21:11:32 +02:00
Lewin Bormann
abdf1d5b45 Merge pull request #64 from martell/rustls
fix(version): bump rustls to 0.6.1
2017-06-22 21:01:00 +02:00
Lewin Bormann
da1128fa30 fix(deps): Fix hyper_rustls dependency in drive_example. 2017-06-22 20:59:13 +02:00
Martell Malone
112cc12f0e fix(version): bump rustls to 0.6.1
This bumps rustls to 0.6.1 which bumps webpki-roots.
We need this because the current version of webpki 0.8.0
has been removed from crates.io.
I created the 0.6.x rustls for hyper 0.10 support.
In future we should upade to hyper 0.11 which is rusls 0.8.0+
2017-06-22 14:29:39 +01:00
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