Skip to content

Commit

Permalink
Export EscapeError from the crate
Browse files Browse the repository at this point in the history
This is useful when manually calling `unscape`
  • Loading branch information
Aaron1011 committed Mar 31, 2023
1 parent 2e9123a commit eadbc41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@
### Misc Changes


## 0.28.1 -- 2023-03-19
## 0.28.1 -- 2023-03-31

### Misc Changes

- [#579]: `ElementWriter.write_inner_content` now uses a `FnOnce` instead of a more restrictive `Fn` closure
- [#584]: `Export EscapeError from the crate`

[#579]: https://github.com/tafia/quick-xml/pull/579
[#584]: https://github.com/tafia/quick-xml/pull/584


## 0.28.0 -- 2023-03-13
Expand Down
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ mod errors;
mod escapei;
pub mod escape {
//! Manage xml character escapes
pub(crate) use crate::escapei::EscapeError;
pub use crate::escapei::{escape, partial_escape, unescape, unescape_with};
pub use crate::escapei::{escape, partial_escape, unescape, unescape_with, EscapeError};
}
pub mod events;
pub mod name;
Expand Down

0 comments on commit eadbc41

Please sign in to comment.