1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 09:04:12 +02:00

bumb dependencies except for bollard

This commit is contained in:
Robin Appelman 2023-02-23 14:37:10 +01:00
commit e70764fbb5
3 changed files with 461 additions and 292 deletions

729
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
[package]
name = "haze"
version = "1.2.0"
version = "1.2.1"
authors = ["Robin Appelman <robin@icewind.nl>"]
edition = "2018"
repository = "https://github.com/icewind1991/haze"
@ -10,27 +10,27 @@ description = "Easy setup and management of Nextcloud test instances using docke
[dependencies]
bollard = "0.13.0"
maplit = "1.0.2"
camino = { version = "1.0.9", features = ["serde1"] }
tokio = { version = "1.20.1", features = ["fs", "macros", "signal"] }
parse-display = "0.5.5"
futures-util = "0.3.21"
termion = "1.5.6"
opener = "0.5.0"
toml = "0.5.9"
camino = { version = "1.1.3", features = ["serde1"] }
tokio = { version = "1.25.0", features = ["fs", "macros", "signal"] }
parse-display = "0.8.0"
futures-util = "0.3.26"
termion = "2.0.1"
opener = "0.5.2"
toml = "0.7.2"
directories-next = "2.0.0"
serde = "1.0.142"
petname = "1.1.2"
reqwest = { version = "0.11.11", default-features = false }
serde = "1.0.152"
petname = "1.1.3"
reqwest = { version = "0.11.14", default-features = false }
tar = "0.4.38"
flate2 = "1.0.24"
async-trait = "0.1.57"
enum_dispatch = "0.3.8"
miette = { version = "5.2.0", features = ["fancy"] }
flate2 = "1.0.25"
async-trait = "0.1.64"
enum_dispatch = "0.3.11"
miette = { version = "5.5.0", features = ["fancy"] }
shell-words = "1.1.0"
warp = "0.3"
tokio-stream = { version = "0.1.9", features = ["net"] }
tracing = "0.1.35"
tracing-subscriber = "0.3.14"
tokio-stream = { version = "0.1.12", features = ["net"] }
tracing = "0.1.37"
tracing-subscriber = "0.3.16"
hyper-reverse-proxy = { version = "0.5.2-dev", git = "https://github.com/felipenoris/hyper-reverse-proxy" }
hyper = "0.14.24"

View file

@ -4,7 +4,7 @@ use miette::{IntoDiagnostic, Report, Result, WrapErr};
use serde::Deserialize;
use std::convert::TryFrom;
use std::env::var;
use std::fs::{read, read_to_string};
use std::fs::read_to_string;
use std::net::IpAddr;
#[derive(Debug, Deserialize)]
@ -192,10 +192,10 @@ impl HazeConfig {
file.to_string_lossy()
)));
}
let content = read(&file)
let content = read_to_string(&file)
.into_diagnostic()
.wrap_err("Failed to read config file")?;
toml::from_slice(&content)
toml::from_str(&content)
.into_diagnostic()
.wrap_err("Failed to parse config file")
}