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
Lewin Bormann
6b5426ff59
Merge pull request #41 from dermesser/example-crate-fixes
...
fix(example): Use crates.io version of google-pubsub1 for examples
2016-09-28 22:12:03 +02:00
Lewin Bormann
80b21bdddb
fix(example): Use crates.io version of google-pubsub1 for examples
...
This was a local change that leaked into a commit.
2016-09-28 22:10:49 +02:00
Lewin Bormann
cdc5fc4c34
Merge pull request #37 from dermesser/use-base64
...
fix(service_account): Use correct base64 encoding
2016-09-28 21:52:11 +02:00
Lewin Bormann
b143033ad1
fix(service_account): Use correct base64 encoding
2016-09-28 21:45:10 +02:00
Lewin Bormann
69c43287e7
docs(crate): Update crate documentation
...
Please regenerate the documentation in `gh-pages`.
2016-09-28 21:19:43 +02:00
Lewin Bormann
8aa31e48ca
Merge pull request #36 from dermesser/use-base64
...
fix(deps): Use small base64 crate instead of rustc-serialize
2016-09-28 20:12:58 +02:00
Lewin Bormann
a4d60e754b
fix(deps): Use small base64 crate instead of rustc-serialize
2016-09-28 20:10:53 +02:00
Lewin Bormann
8d9c42c449
Merge pull request #34 from dermesser/service-account-example
...
Add service account example
2016-09-25 20:23:08 +02:00
Lewin Bormann
bb6ce78b38
fix(review comments): Implement @Byron's suggestions on #34
2016-09-25 20:20:23 +02:00
Sebastian Thiel
5787f61ea9
fix(travis): no need to build separately
...
It's essentially done by `travis-cargo test`.
2016-09-25 18:55:42 +02:00
Sebastian Thiel
c6bef14b87
fix(README): fix formatting
2016-09-25 18:26:41 +02:00
Lewin Bormann
317e6364a5
docs(README): Add short information about supported flows
2016-09-25 18:19:57 +02:00
Sebastian Thiel
0c1a7e7c14
Merge pull request #30 from dermesser/drive-example
...
feat(example): Implement a simple installed-flow example
2016-09-25 18:15:05 +02:00
Sebastian Thiel
216e0e51ea
Merge pull request #29 from dermesser/service-account-pr
...
feat(flow): implement the service account "flow"
2016-09-25 17:58:34 +02:00
Lewin Bormann
1ceaf6044e
fix(deps): Remove unnecessary dependencies in drive_example
2016-09-22 10:37:03 +02:00
Lewin Bormann
3cf00eb1cf
docs(crate): Add a short snippet about service account auth.
2016-09-21 22:50:23 +02:00
Lewin Bormann
e1eeeefeff
feat(examples): Add example for installed-interactive flow.
...
This PR also depends on the version bump to 0.6.4.
2016-09-21 22:44:13 +02:00
Lewin Bormann
4ba43532aa
feat(examples): Add example for service accounts + Cloud Pubsub
...
Please note that I specified version 0.9.4 in the example crate
(anticipating the version bump)
2016-09-21 22:10:19 +02:00
Lewin Bormann
ed0a3c4990
fix(types::Token): Don't panic if refresh_token is empty
...
Service account tokens don't set the refresh_token. Checking the
access_token field should be sufficient.
2016-09-21 09:24:09 +02:00