- Replace the
setup_panic_hook
method with Rust'sDrop
trait to automatically tear down docker-compose. - The
docker_compose.up()
anddocker_compose.down()
methods can still be manually invoked using theDockerComposeCmd
struct.
setup_panic_hook
method with Rust's Drop
trait to automatically tear down docker-compose.docker_compose.up()
and docker_compose.down()
methods can still be manually invoked using the DockerComposeCmd
struct.