Commit Graph

255 Commits

Author SHA1 Message Date
Lewin Bormann
efdb015add Merge pull request #81 from ignatenkobrain/patch-1
chore: Update base64 to 0.10
2019-02-11 19:59:20 +01:00
Igor Gnatenko
0f93e5e915 chore: Update base64 to 0.10 2019-02-10 16:56:53 +01:00
Lewin Bormann
fa66623810 chore(version): Depend on hyper-native-tls 0.3 to use openssl 1.1 2019-01-27 16:27:09 +01:00
Lewin Bormann
8c5d9af02f Merge pull request #80 from jamwt/no-openssl
No openssl feature
2019-01-08 10:51:37 +01:00
Lewin Bormann
9054c16eba Merge pull request #75 from Terkwood/fix_service_account_example
fix: compilation of service account example
2019-01-08 10:31:47 +01:00
Lewin Bormann
064440f7eb Merge pull request #79 from jamwt/edition_2018
Rust 2018 edition modifications.
2019-01-08 10:30:51 +01:00
Jamie Turner
20810e32d5 Add a no-openssl feature.
Recently, commits were made to remove support for using rustls/ring
in lieu of OpenSSL to avoid having to add those as dependencies in
environments where OpenSSL already exists.

However, yup-oauth2 is being used in some environments where
*OpenSSL* doesn't exist. So, retaining the option to build
it with an openssl-free stack is key.

Note, the change to hyper-native-tls is fine and actually
unrelated, because this is often happening on Windows or
Mac enviornments, where the stack that will link to is
*not* necessarily OpenSSL either.

For example, the particular breakage that prompted this
CR is a build of yup-oauth2 on iOS. In that environment,
hyper-native-tls uses Apple's Security Framework,
but OpenSSL libraries are not actually present on all
devices/simulator environments. So a link against
a mix of Security Framework and rustls make sense,
there.

Also, update to a newer version of rustls/ring while we're at it.
2019-01-04 12:54:08 -08:00
Jamie Turner
ab4b2c2fd4 Rust 2018 edition modifications. 2019-01-04 12:43:19 -08:00
Terkwood
c55bb65c05 fix: compilation of service account example 2018-11-05 09:12:40 -05:00
Lewin Bormann
f865ffd5fe chore(version): 1.0.9
For new TLS dependency.
2018-10-07 13:59:53 +02:00
Lewin Bormann
649351c4b8 Merge pull request #74 from edelangh/update_hyper_native_tls_3
Update hyper-native-tls from 0.2 to 0.3
2018-10-03 15:41:57 +02:00
edelangh
2e1bbf761c Update hyper-native-tls from 0.2 to 0.3 2018-10-03 15:04:14 +02:00
Lewin Bormann
80ffb749fc bump version -> 1.0.8 2018-07-27 20:08:54 +02:00
Lewin Bormann
62b855ff6d Merge pull request #72 from ignatenkobrain/master
Bring deps to XXI century
2018-07-27 20:08:19 +02:00
Igor Gnatenko
3163be984d deps: rustls → openssl
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-07-25 22:51:51 +02:00
Igor Gnatenko
9b5bbf5459 deps: hyper-rustls → hyper-native-tls
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-07-25 22:51:37 +02:00
Igor Gnatenko
78cefeab47 deps: update url to 1
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-07-25 22:50:45 +02:00
Igor Gnatenko
e634d3f139 deps: update chrono to 0.4
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-07-25 22:47:52 +02:00
Igor Gnatenko
35fc95b066 deps: update itertools to 0.7
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-07-25 22:47:37 +02:00
Igor Gnatenko
b7e9822052 deps: update base64 to 0.9
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-07-25 22:47:22 +02:00
Igor Gnatenko
cd8b11e222 remove Cargo.lock
It is intended only for binaries and not libraries.

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-07-25 22:47:03 +02:00
Lewin Bormann
ac8eb5bacb chore(version): Bump version -> 1.0.7 2018-06-02 19:01:26 +02:00
Lewin Bormann
39d8b8c7fd Merge pull request #69 from markcatley/hyper_tls_doc_fix
docs: update the example to use the hyper tls connector
2018-05-20 17:11:53 +02:00
Mark Catley
f529404ccb docs: update the example to use the hyper tls connector
This is required to use tls apis hyper 0.10. The example uses a tls api, so this is required.

Closes #52
2018-05-07 12:24:55 +12:00
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