Debian Codegraph @

third_party/rust/xmldecl/README.md

raw
1 # xmldecl
2
3 [![crates.io](https://img.shields.io/crates/v/xmldecl.svg)](https://crates.io/crates/xmldecl)
4 [![docs.rs](https://docs.rs/xmldecl/badge.svg)](https://docs.rs/xmldecl/)
5 [![Apache 2 OR MIT dual-licensed](https://img.shields.io/badge/license-Apache%202%20%2F%20MIT-blue.svg)](https://github.com/hsivonen/xmldecl/blob/main/COPYRIGHT)
6
7 `xmldecl::parse()` extracts an encoding from an ASCII-based bogo-XML
8 declaration in `text/html` in a Web-compatible way.
9
10 See https://github.com/whatwg/html/pull/1752
11
12 ## Licensing
13
14 Please see the file named
15 [COPYRIGHT](https://github.com/hsivonen/xmldecl/blob/main/COPYRIGHT).
16
17 ## Documentation
18
19 Generated [API documentation](https://docs.rs/xmldecl/) is available
20 online.
21
22 ## Minimum Supported Rust Version
23
24 MSRV: 1.51.0
25
26 ## Release Notes
27
28 ### 0.2.0
29
30 * Remove the 1024-byte limit.
31
32 ### 0.1.1
33
34 * Map UTF-16LE and UTF-16BE to UTF-8 as in `meta`.
35
36 ### 0.1.0
37
38 * The initial release.