File tree Expand file tree Collapse file tree 2 files changed +3
-15
lines changed Expand file tree Collapse file tree 2 files changed +3
-15
lines changed Original file line number Diff line number Diff line change 9292- [ #118 ] : Remove ` BytesStart::unescaped* ` set of methods because they could return wrong results
9393 Use methods on ` Attribute ` instead
9494
95+ - [ #403 ] : Remove deprecated ` quick_xml::de::from_bytes ` and ` Deserializer::from_borrowing_reader `
96+
9597### New Tests
9698
9799- [ #9 ] : Added tests for incorrect nested tags in input
109111[ #391 ] : https://github.com/tafia/quick-xml/pull/391
110112[ #393 ] : https://github.com/tafia/quick-xml/pull/393
111113[ #395 ] : https://github.com/tafia/quick-xml/pull/395
114+ [ #403 ] : https://github.com/tafia/quick-xml/pull/403
112115
113116## 0.23.0 -- 2022-05-08
114117
Original file line number Diff line number Diff line change @@ -300,15 +300,6 @@ where
300300 from_slice ( s. as_bytes ( ) )
301301}
302302
303- /// Deserialize an instance of type `T` from bytes of XML text.
304- #[ deprecated = "Use `from_slice` instead" ]
305- pub fn from_bytes < ' de , T > ( s : & ' de [ u8 ] ) -> Result < T , DeError >
306- where
307- T : Deserialize < ' de > ,
308- {
309- from_slice ( s)
310- }
311-
312303/// Deserialize an instance of type `T` from bytes of XML text.
313304pub fn from_slice < ' de , T > ( s : & ' de [ u8 ] ) -> Result < T , DeError >
314305where
@@ -400,12 +391,6 @@ where
400391 }
401392 }
402393
403- /// Get a new deserializer from a regular BufRead
404- #[ deprecated = "Use `Deserializer::new` instead" ]
405- pub fn from_borrowing_reader ( reader : R ) -> Self {
406- Self :: new ( reader)
407- }
408-
409394 /// Set the maximum number of events that could be skipped during deserialization
410395 /// of sequences.
411396 ///
You can’t perform that action at this time.
0 commit comments