allow inline arrow up to max length

This commit is contained in:
mbecker20
2024-06-10 23:53:23 -07:00
parent f269deb99c
commit 9c0d28b311
3 changed files with 5 additions and 4 deletions

4
Cargo.lock generated
View File

@@ -3822,9 +3822,9 @@ dependencies = [
[[package]]
name = "toml_pretty"
version = "1.1.0"
version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6c52247186037974d6547ab230c76bee9b0d777841189ec5b3eea4489cca2799"
checksum = "100b9fea6caaa91d9e7837591cbda2958b6ff16318b13c8ba92254fdda13db47"
dependencies = [
"ordered_hash_map",
"serde",

View File

@@ -34,7 +34,7 @@ partial_derive2 = "0.4.3"
derive_variants = "1.0.0"
mongo_indexed = "0.3.0"
resolver_api = "1.1.0"
toml_pretty = "1.1.0"
toml_pretty = "1.1.1"
parse_csl = "0.1.0"
mungos = "0.5.6"
svi = "1.0.1"

View File

@@ -544,7 +544,8 @@ fn serialize_resources_toml(
let options = toml_pretty::Options::default()
.tab(" ")
.skip_empty_string(true);
.skip_empty_string(true)
.max_inline_array_length(30);
for server in &resources.servers {
if !res.is_empty() {