Dedupe ron and base64 (#30415)

This commit is contained in:
Fabrice Desré 2023-09-23 04:30:57 -07:00 committed by GitHub
parent 2c3f7c0156
commit 38c91b836a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 51 additions and 35 deletions

View file

@ -41,7 +41,7 @@ num-traits = "0.2"
plane-split = "0.17"
png = { optional = true, version = "0.16" }
rayon = "1"
ron = { optional = true, version = "0.6.2" }
ron = { optional = true, version = "0.8" }
serde = { optional = true, version = "1.0", features = ["serde_derive"] }
smallvec = "1"
time = "0.1"

View file

@ -43,8 +43,8 @@ impl CaptureConfig {
resource_id: 0,
#[cfg(feature = "capture")]
pretty: ron::ser::PrettyConfig::new()
.with_enumerate_arrays(true)
.with_indentor(" ".to_string()),
.enumerate_arrays(true)
.indentor(" ".to_string()),
}
}