diff options
author | Thomas Eizinger <thomas@eizinger.io> | 2019-12-27 04:17:07 +0100 |
---|---|---|
committer | Doug Tangren <d.tangren@gmail.com> | 2019-12-26 22:17:07 -0500 |
commit | a368a93e1f217cd38a0fe52456b4ab03008d75d4 (patch) | |
tree | 3ca636a28ebf6da3d7f40044e5b3ac85dbc97748 /tests | |
parent | 1718105d19c53e817de9776011daacb17f6ac275 (diff) |
Re-export hyper::Uri as shiplift::Uri (#209)
This patch removes the explicit dependency on the http crate and
instead accesses the re-exported version of hyper. This should make
the update process slightly easier because those versions would
need to be kept in sync manually.
We also re-export hyper::Uri as shiplift::Uri because it is part
of the public API of shiplift::Docker. This allows users to access
the Uri type without having to seperately depend on http or hyper.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/reexported_types.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/reexported_types.rs b/tests/reexported_types.rs new file mode 100644 index 0000000..7a08130 --- /dev/null +++ b/tests/reexported_types.rs @@ -0,0 +1,4 @@ +#[test] +fn can_access_uri_from_shiplift_crate() { + let _ = shiplift::Uri::default(); +} |