File tree 2 files changed +10
-12
lines changed
2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ The format is based on [Keep a Changelog].
7
7
<!-- next-header -->
8
8
## [ Unreleased] - ReleaseDate
9
9
10
+ ### Compatibility
11
+
12
+ - Bumped MSRV to 1.60.0
13
+ - Deprecated ` Deserializer::set_require_newline_after_table `
14
+ - Deprecated ` Deserializer::set_allow_duplicate_after_longer_table `
15
+
10
16
## [ 0.5.9]
11
17
12
18
Changes:
Original file line number Diff line number Diff line change @@ -1279,22 +1279,14 @@ impl<'a> Deserializer<'a> {
1279
1279
Ok ( ( ) )
1280
1280
}
1281
1281
1282
- /// Historical versions of toml-rs accidentally allowed a newline after a
1283
- /// table definition, but the TOML spec requires a newline after a table
1284
- /// definition header.
1285
- ///
1286
- /// This option can be set to `false` (the default is `true`) to emulate
1287
- /// this behavior for backwards compatibility with older toml-rs versions.
1282
+ #[ doc( hidden) ]
1283
+ #[ deprecated( since = "0.5.10" ) ]
1288
1284
pub fn set_require_newline_after_table ( & mut self , require : bool ) {
1289
1285
self . require_newline_after_table = require;
1290
1286
}
1291
1287
1292
- /// Historical versions of toml-rs accidentally allowed a duplicate table
1293
- /// header after a longer table header was previously defined. This is
1294
- /// invalid according to the TOML spec, however.
1295
- ///
1296
- /// This option can be set to `true` (the default is `false`) to emulate
1297
- /// this behavior for backwards compatibility with older toml-rs versions.
1288
+ #[ doc( hidden) ]
1289
+ #[ deprecated( since = "0.5.10" ) ]
1298
1290
pub fn set_allow_duplicate_after_longer_table ( & mut self , allow : bool ) {
1299
1291
self . allow_duplciate_after_longer_table = allow;
1300
1292
}
You can’t perform that action at this time.
0 commit comments