summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
AgeCommit message (Collapse)Author
2021-03-08Split up builder.rsEli W. Hunter
2021-03-06Update dependency: byteorderMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-18Version and changelog updates for 0.7.0 (#247)Tom Fay
2021-01-15Upgrade all dependencies (#246)maowtm
* Upgrade dependencies and add required features * Special case for parsing unix:// url in Docker::new hyper::Uri doesn't allow urls with empty authority, hence parsing unix:///var/run/docker.sock will fail. * Remove empty /lib.rs * Fix cargo fmt
2020-07-23Async/Await Support (continuation of #191) (#229)Eli W. Hunter
* it builds! * remove unused dependencies * bump dependencies * reimplement 'exec' endpoint * update a few more examples * update remaining examples * fix doc tests, remove unused 'read' module * remove feature-gated async closures * split futures dependency to just 'futures-util' * update version and readme * make functions accepting Body generic over Into<Body> again * update changelog * reinstate 'unix-socket' feature * reinstate 'attach' endpoint * fix clippy lints * fix documentation typo * fix container copyfrom/into implementations * add convenience methods for TtyChunk struct * remove 'main' from code example to silence clippy lint * Update hyper to 0.13.1 * Add Send bounds to TtyWriter * Appease clippy * Fix examples * Update issue in changelog Co-authored-by: Daniel Eades <danieleades@hotmail.com> Co-authored-by: Marc Schreiber <marc.schreiber@aixigo.de>
2019-12-26Re-export hyper::Uri as shiplift::Uri (#209)Thomas Eizinger
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.
2019-12-08prep release for 0.6.0 (#206)Doug Tangren
2019-12-08update dev dep env_loggersoftprops
2019-12-06port build to gh actions (#204)Doug Tangren
* port build to gh actions * attempt 2: trip hook registration * hooked to pushes * gh actions badge * build cache * gate at job level * fix badge merge * populate cache after checkout * work now cache later
2019-12-05Don't vendor OpenSSL except on Windows (#197)Andy Caldwell
* Don't vendor OpenSSL except on Windows * Use a feature rather than guessing based on OS
2019-12-05update minor deps (#203)Doug Tangren
2019-10-13Add 'publish' method to expose a port (#198)Anthony Griffon
* Renamed 'expose' to 'port' and add 'expose' to expose a port without linking it to the host * update Version to 0.5.1
2019-09-14feat: use chrono to deserialize date times (#190)Marc Schreiber
2019-05-22Switch to vendored openssl (#170)Keir Lawson
2019-04-21alphbet sort on depssoftprops
2019-04-21relax strictness on patch versions on depssoftprops
2019-03-30Add a registry authentication. (#157)Anton Ageev
2019-02-22Migrate serde dependency to use derive feature (#152)Vegard Sandengen
This is in line with best practices recommended by serde[1]. This will also resolve downstream crates depending on shiplift who enable the serde derive feature, due to Cargos unification of features for each crate[2]. [1]: https://github.com/serde-rs/serde/issues/1441 [2]: https://github.com/rust-lang/cargo/issues/4361#issuecomment-348538243
2019-02-13Copy from container (#150)Andy Caldwell
* Add 'copy_from' function to 'Container' * Run clippy * Update deps
2019-01-08Make TLS/openssl an optional dependency (#130)rsdy
2018-12-24maint detailssoftprops
2018-12-24more cargo detailssoftprops
2018-12-24update to 2018 edition (#141)doug tangren
* update to 2018 edition * remove more externs * bump version
2018-12-23refer to docs.rs for release docssoftprops
2018-11-14Async api (#128)Antoine Büsch
* Refactored Transport for better async use Still a bit rough, but it now builds a big future using combinators. It still does one `Runtime::block_on()` to keep the existing API, but this is a first up before making the whole API async. * Migrate most APIs to be Future-based I still need to finish a few of the more tricky ones that I've commented out for now, but most of it compiles and some examples work. In particular, `Docker::stats()` now properly returns an async stream of stats. * Fix events and containerinspect examples * Fix imageinspect, images, info and top examples * Fix containercreate, imagedelete and imagepull examples * Fix more examples * Add back debug statement in Transport::request * De-glob imports in examples * Remove unused imports in examples * Fix NetworkCreateOptions serialization * Add back error message extraction in Transport * Fix Container::create serialization of options * Add containerdelete example * Simplify result * Fix some error handling to remove unwrap() * Fix Image::export() * Fix imagebuild example * Add adapter from Stream of Chunks to AsyncRead Having an `AsyncRead` is required to be able to use the `FramedRead` and `Decoder` stuff from tokio_codec. This code is "borrowed" from https:/github.com/ferristseng/rust-ipfs-api though should probably be moved to its own crate or to tokio_codec. * Fix Container::logs() It now properly demuxes stdout/stderr, and returns a `Stream<Item = TtyLine>`. * Fix Container::export() * Use LineCodec for streaming JSON Although in my limited testing it seemed to work fine, there is no guarantee that 1 chunk == 1 piece of valid JSON. However, each JSON structure seems to be serialized on one line, so use LineCodec to turn the body into a stream of lines, then deserialize over this. * Fix serialization of ExecContainerOptions * Fix Container::exec() (kind of...) * Simplify deserialisation in Image::delete() * Small clean-ups * More clean ups * Fix rustdoc + remove extraneous "extern crate" * Fix doc example * Fix formatting
2018-10-07Merge branch 'master' into serdeAntoine Büsch
2018-10-01Update log and flate2 cratesAntoine Büsch
2018-10-01Clean-up imports and dependenciesAntoine Büsch
2018-10-01Migrate to serde_jsonAntoine Büsch
2018-09-29Merge branch 'master' into update-to-hyper-0.12Antoine Büsch
2018-09-24Remove dependency on tokio-coreAntoine Büsch
Tokio-core seems to be deprecated so remove it and use Tokio's Runtime instead.
2018-09-24Upgrade hyperlocal to 0.5Antoine Büsch
2018-09-08Make Unix socket support optionalFelix Krull
By making Unix sockets optional, hyperlocal becomes optional as well, which means shiplift builds on Windows.
2018-08-07Update to Hyper 0.12Dylan McKay
2018-07-04Update tar dependency to 0.4Kai Lieth
The 0.4 release of the tar package has a safer API as all methods that modify the archive itself were marked mutable as they modify the internal representation of the tar. Also, it split the write functionality into a Builder struct which has a simpler interface.
2018-02-20feat: Use serde instead of rustc-serializeJacob ZAK
2017-06-25bump versionsoftprops
2017-05-31Fix stdin and stderr handling during docker execStephan Buys
2017-02-17MODIFY: images exampleimam digmi
2017-01-23update to hyper v0.10 with separate openssl dependencyAlexandre Beslic
Signed-off-by: Alexandre Beslic <abeslic@abronan.com>
2017-01-14update version and add release notessoftprops
2017-01-02bump versionsoftprops
2016-12-27Update hyper to 0.9 (fix #13)Roey Darwish Dror
2016-01-18bump versionsoftprops
2016-01-18massive progresssoftprops
2016-01-15wip for image buildingsoftprops
2016-01-03bump versionsoftprops
2016-01-03add debug loggingsoftprops
2016-01-03order depssoftprops
2016-01-03ditch httpparse and unix socketsoftprops