Quellcodebibliothek
Statistik
Leitseite
products
/
sources
/
formale Sprachen
/
C
/
Firefox
/
third_party
/
rust
/
xmldecl
/ (
Browser von der Mozilla Stiftung
Version 136.0.1
©
) Datei vom 10.2.2025 mit Größe 923 B
Quelle README.md Sprache: unbekannt
# xmldecl
[](https://crates.io/cr
ates/xmldecl)
[](https://docs.rs/xmldecl/)
[](https://github.com/hsivonen/xmldecl/blob/main/COPYRIGHT)
`xmldecl::parse()` extracts an encoding from an ASCII-based bogo-XML
declaration in `text/html` in a Web-compatible way.
See
https://github.com/whatwg/html/pull/1752
## Licensing
Please see the file named
[COPYRIGHT](
https://github.com/hsivonen/xmldecl/blob/main/COPYRIGHT).
## Documentation
Generated [API documentation](
https://docs.rs/xmldecl/)
is available
online.
## Minimum Supported Rust Version
MSRV: 1.51.0
## Release Notes
### 0.2.0
* Remove the 1024-byte limit.
### 0.1.1
* Map UTF-16LE and UTF-16BE to UTF-8 as in `meta`.
### 0.1.0
* The initial release.
[ Dauer der Verarbeitung: 0.18 Sekunden (vorverarbeitet)
]
2026-04-04