Commit Graph

11 Commits

Author SHA1 Message Date
Lyle Mantooth
108162fcf8 imp: accept any string-like parameter
Use the power of the `AsRef` trait to take generic parameters for
several API functions. This makes the API more ergonomic because the
callers may pass in static `str` slices or references to owned `String`s
or even more exotic things like a `Cow`, all based on their particular
situation.

Update the tests and examples to use the most natural types they have
available.

Fixes #77. No existing code should break, as `&String` implements
`AsRef<str>` and `AsRef<Path>`
2019-04-03 09:01:28 -04: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
Jamie Turner
ab4b2c2fd4 Rust 2018 edition modifications. 2019-01-04 12:43:19 -08: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
Lewin Bormann
da1128fa30 fix(deps): Fix hyper_rustls dependency in drive_example. 2017-06-22 20:59:13 +02:00
Lewin Bormann
732d65aa98 chore(deps): Update drive example to hyper 0.10 + rustls. 2017-02-04 17:03:44 +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
6a74ec6962 test(examples): Build examples during CI. 2017-01-30 19:07:46 +01:00
Lewin Bormann
01b933a1c6 chore(version): Bump version to 1.0.0 2016-10-09 09:56:23 +02:00
Lewin Bormann
1ceaf6044e fix(deps): Remove unnecessary dependencies in drive_example 2016-09-22 10:37:03 +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