• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..30-Mar-2022-

src/H30-Mar-2022-372333

.cargo-checksum.jsonH A D03-May-202289 11

COPYRIGHTH A D30-Mar-2022759 2115

Cargo.tomlH A D30-Mar-20221 KiB2725

LICENSE-APACHEH A D30-Mar-202211.1 KiB203169

LICENSE-MITH A D30-Mar-20221 KiB2622

README.mdH A D30-Mar-2022923 3922

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