PLUS-POSTECH / soma

Cross-platform CTF problem container manager
Apache License 2.0
24 stars 3 forks source link

Bump dependencies (bollard 0.2.0, crossterm 0.6.0) #93

Closed KSAlpha closed 5 years ago

KSAlpha commented 5 years ago

Bollard updated to 0.2.0, with following breaking API changes.

error[E0061]: this function takes 2 parameters but 1 parameter was supplied
   --> src\docker.rs:251:10
    |
251 |         .create_image(Some(CreateImageOptions {
    |          ^^^^^^^^^^^^ expected 2 parameters

error[E0061]: this function takes 3 parameters but 2 parameters were supplied
   --> src\docker.rs:322:10
    |
322 |         .remove_image(image_name, None::<RemoveImageOptions>)
    |          ^^^^^^^^^^^^ expected 3 parameters

Also, crossterm updated to 0.6.0 with breaking changes in crossterm::terminal.

We should follow up the changes in order to use improvements such as fussybeaver/bollard#14.