Skip to content

Commit

Permalink
Develop (#49)
Browse files Browse the repository at this point in the history
* dependency updates
  • Loading branch information
Ebert-Hanke authored Aug 28, 2022
1 parent d118ca2 commit 1cf2356
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 85 deletions.
131 changes: 54 additions & 77 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "autoeq2camilladsp"
version = "0.4.0"
version = "0.5.1"
authors = ["Micha Ebert-Hanke <[email protected]>"]
description = "a simple tool to generate a CamillaDSP config based on correction data from the AutoEq repository"
readme = "README.md"
Expand All @@ -15,12 +15,12 @@ path = "src/main.rs"
[dependencies]
anyhow = "1.0"
console = "0.15"
clap = { version = "3.1.18", features = ["derive"] }
dialoguer = {git = "https://github.com/mitsuhiko/dialoguer", features = ["fuzzy-select"]}
indicatif = "0.16"
clap = { version = "3.2", features = ["derive"] }
dialoguer = { version = "0.10", features = ["fuzzy-select"]}
indicatif = "0.17"
reqwest = "0.11"
scraper = "0.13"
serde = { version = "1.0", features = ["derive"]}
serde_yaml = "0.8"
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.9"
serde_json = "1.0"
tokio = { version = "1", features = ["full"] }
tokio = { version = "1", features = ["full"] }
3 changes: 2 additions & 1 deletion src/configcreation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,9 @@ fn write_lines_to_file(file: &mut File, data: String) -> Result<()> {
}

fn serialize_and_write_yaml(file: &mut File, configuration: &Configuration) -> Result<()> {
let serialized_yaml = serde_yaml::to_vec(configuration)
let serialized_yaml = serde_yaml::to_string(configuration)
.context("The ParametricEq filter settings could not be serialized to yaml.")?
.into_bytes()
// split of the "---" at the beginning of yml file
.split_off(4);
file.write_all(&serialized_yaml)
Expand Down

0 comments on commit 1cf2356

Please sign in to comment.