mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-22 00:03:49 +01:00
fix: Replace serde_yaml::to_string with serde_json::to_string_yaml (#2087)
This commit is contained in:
parent
7e665fc5b6
commit
9943c53a70
20
Cargo.lock
generated
20
Cargo.lock
generated
@ -234,7 +234,6 @@ dependencies = [
|
||||
"semver",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"serde_yaml",
|
||||
"sysinfo",
|
||||
"time",
|
||||
"tiny-bip39",
|
||||
@ -3281,19 +3280,6 @@ dependencies = [
|
||||
"syn 2.0.66",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde_yaml"
|
||||
version = "0.9.34+deprecated"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47"
|
||||
dependencies = [
|
||||
"indexmap 2.2.6",
|
||||
"itoa",
|
||||
"ryu",
|
||||
"serde",
|
||||
"unsafe-libyaml",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "sha1"
|
||||
version = "0.10.6"
|
||||
@ -4271,12 +4257,6 @@ dependencies = [
|
||||
"subtle",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "unsafe-libyaml"
|
||||
version = "0.2.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861"
|
||||
|
||||
[[package]]
|
||||
name = "untrusted"
|
||||
version = "0.9.0"
|
||||
|
@ -83,7 +83,6 @@ tracing = "0.1"
|
||||
tracing-subscriber = { workspace = true }
|
||||
uuid = { workspace = true }
|
||||
unicode-segmentation = "1.11.0"
|
||||
serde_yaml = "0.9.34"
|
||||
sysinfo = "0.30.7"
|
||||
regex="1.10.4"
|
||||
|
||||
|
@ -349,7 +349,7 @@ pub async fn run(settings: &Settings) -> Result<()> {
|
||||
|
||||
checks(&dump);
|
||||
|
||||
let dump = serde_yaml::to_string(&dump)?;
|
||||
let dump = serde_json::to_string_pretty(&dump)?;
|
||||
|
||||
println!("\nPlease include the output below with any bug reports or issues\n");
|
||||
println!("{dump}");
|
||||
|
Loading…
Reference in New Issue
Block a user