This repository was archived by the owner on May 30, 2022. It is now read-only.
Commit d2707dd 1 parent 0a0469e commit d2707dd Copy full SHA for d2707dd
File tree 3 files changed +6
-1
lines changed
3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 19
19
from the attribute and element names and attribute values
20
20
- fix: allow to deserialize ` unit ` s from text and CDATA content.
21
21
` DeError::InvalidUnit ` variant is removed, because after fix it is no longer used
22
+ - fix: ` ElementWriter ` , introduced in [ #274 ] ( https://github.com/tafia/quick-xml/pull/274 )
23
+ (0.23.0-alpha2) now available to end users
22
24
23
25
## 0.23.0-alpha3
24
26
Original file line number Diff line number Diff line change @@ -151,4 +151,5 @@ mod writer;
151
151
#[ cfg( feature = "serialize" ) ]
152
152
pub use crate :: errors:: serialize:: DeError ;
153
153
pub use crate :: errors:: { Error , Result } ;
154
- pub use crate :: { reader:: Reader , writer:: Writer } ;
154
+ pub use crate :: reader:: Reader ;
155
+ pub use crate :: writer:: { ElementWriter , Writer } ;
Original file line number Diff line number Diff line change @@ -220,6 +220,8 @@ impl<W: Write> Writer<W> {
220
220
}
221
221
}
222
222
223
+ /// A struct to write an element. Contains methods to add attributes and inner
224
+ /// elements to the element
223
225
pub struct ElementWriter < ' a , W : Write > {
224
226
writer : & ' a mut Writer < W > ,
225
227
start_tag : BytesStart < ' a > ,
You can’t perform that action at this time.
0 commit comments