lazyxml

Crates.iolazyxml
lib.rslazyxml
version0.0.3
sourcesrc
created_at2020-11-20 03:04:54.953462
updated_at2020-11-24 04:59:16.010618
descriptionit's like xml parsing, but bad
homepage
repositoryhttps://github.com/notviri/lazyxml/
max_upload_size
id314216
size17,986
viri (viriuwu)

documentation

https://docs.rs/lazyxml

README

lazyxml

Crates.io Docs.rs GitHub license

Lightweight, lazy, and ignorant XML parsing. Happily looks past completely invalid data, as long as it logically parses. You should almost definitely not use this, unless:

  1. You are looking to be as lazy as ActionScript's XMLDocument class, which is what this crate's purpose for existing is.
  2. Your data is already validated, but then you should ask yourself why you're still transporting it in XML of all things.
  3. You are a performance freak.

Usage

// Example code here.

Valid XML

You might ask what counts as valid, if you aren't here specifically for reason #1 listed above. Here's a valid XML snippet:

<Name tag="1" a"'"''"'""'''32'34fdhfjsklflsjeje2!!!!!="e"tag2='

'/>

I should probably document why this is OK in case anyone outside of reason #1 becomes interested.

Commit count: 0

cargo fmt