1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 09:04:12 +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" description = "Easy setup and management of Nextcloud test instances using docker"
[dependencies] [dependencies]
bollard = { version = "0.11" } bollard = { version = "0.13.0" }
maplit = "1" maplit = "1.0.2"
camino = { version = "1", features = ["serde1"] } camino = { version = "1.0.7", features = ["serde1"] }
tokio = { version = "1" , features = ["fs", "macros"] } tokio = { version = "1" , features = ["fs", "macros"] }
parse-display = "0.5" parse-display = "0.5"
futures-util = "0.3" futures-util = "0.3"
@ -25,7 +25,7 @@ tar = "0.4"
flate2 = "1" flate2 = "1"
async-trait = "0.1" async-trait = "0.1"
enum_dispatch = "0.3" enum_dispatch = "0.3"
miette = { version = "3", features = ["fancy"] } miette = { version = "4.7.1", features = ["fancy"] }
shell-words = "1.0.0" shell-words = "1.0.0"
[profile.release] [profile.release]

View file

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