rusthtml

Crates.iorusthtml
lib.rsrusthtml
version0.2.4
sourcesrc
created_at2020-12-09 07:59:13.308274
updated_at2020-12-10 07:54:31.699216
descriptionA html parser written in rust
homepage
repositoryhttps://github.com/moelife-coder/rusthtml
max_upload_size
id321049
size1,710,898
Moelife Coder (moelife-coder)

documentation

README

RustHtml - a small html parser

About The Project

RustHtml is a small html parser written in rust.

Warning: this library is not production-ready. Many of the tags and standard are not implemented (mainly located in tag_optimize()). PRs are welcomed.

Completed & planned features:

  • Parse simple html
  • Parse html with void elements
  • Parse html with javascript
  • Parse html with complicated elements (such as html without head ending tag, etc)

Benchmarking

Run cargo bench to benchmark the program.

On my local device, parsing a 43833 lines html requires 18.697 ms to complete

License

Distributed under the GPL-3.0-Only License. See LICENSE for more information.

Commit count: 9

cargo fmt