1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

bumb dependencies

This commit is contained in:
Robin Appelman 2022-06-21 15:50:27 +02:00
commit 33e69b7604
3 changed files with 249 additions and 309 deletions

539
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -8,9 +8,9 @@ license = "MIT"
description = "Easy setup and management of Nextcloud test instances using docker"
[dependencies]
bollard = { version = "0.11" }
maplit = "1"
camino = { version = "1", features = ["serde1"] }
bollard = { version = "0.13.0" }
maplit = "1.0.2"
camino = { version = "1.0.7", features = ["serde1"] }
tokio = { version = "1" , features = ["fs", "macros"] }
parse-display = "0.5"
futures-util = "0.3"
@ -25,7 +25,7 @@ tar = "0.4"
flate2 = "1"
async-trait = "0.1"
enum_dispatch = "0.3"
miette = { version = "3", features = ["fancy"] }
miette = { version = "4.7.1", features = ["fancy"] }
shell-words = "1.0.0"
[profile.release]

View file

@ -236,7 +236,8 @@ impl Cloud {
.ok_or(Report::msg("Network has no ip info"))?
.first()
.ok_or(Report::msg("Network has no ip info"))?
.get("Gateway")
.gateway
.as_deref()
.ok_or(Report::msg("Network has no ip info"))?;
let mut containers = Vec::new();
@ -294,15 +295,7 @@ impl Cloud {
let container = options
.php
.spawn(
docker,
&id,
env,
&options.db,
&network,
volumes,
gateway.as_str(),
)
.spawn(docker, &id, env, &options.db, &network, volumes, gateway)
.await
.wrap_err("Failed to start php container")?;