Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 30-Mar-2022 | - | ||||
src/ | H | 30-Mar-2022 | - | 372 | 333 | |
.cargo-checksum.json | H A D | 03-May-2022 | 89 | 1 | 1 | |
COPYRIGHT | H A D | 30-Mar-2022 | 759 | 21 | 15 | |
Cargo.toml | H A D | 30-Mar-2022 | 1 KiB | 27 | 25 | |
LICENSE-APACHE | H A D | 30-Mar-2022 | 11.1 KiB | 203 | 169 | |
LICENSE-MIT | H A D | 30-Mar-2022 | 1 KiB | 26 | 22 | |
README.md | H A D | 30-Mar-2022 | 923 | 39 | 22 |
README.md
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 8declaration in `text/html` in a Web-compatible way. 9 10See https://github.com/whatwg/html/pull/1752 11 12## Licensing 13 14Please see the file named 15[COPYRIGHT](https://github.com/hsivonen/xmldecl/blob/main/COPYRIGHT). 16 17## Documentation 18 19Generated [API documentation](https://docs.rs/xmldecl/) is available 20online. 21 22## Minimum Supported Rust Version 23 24MSRV: 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. 39