update crate

This commit is contained in:
alex wennerberg
2024-09-28 00:14:15 -04:00
parent 7f97665afb
commit 9c7a627e3f
2 changed files with 2 additions and 2 deletions

23
README.md Normal file
View File

@@ -0,0 +1,23 @@
nanohtml2text
=============
0-dependency library to convert HTML to text; an alternative to
[html2text](https://crates.io/crates/html2text) that doesn't use a full
browser-grade HTML parser
Based on [this go html2text library](https://github.com/k3a/html2text)
Primarily useful for displaying HTML emails as text. YMMV depending on the
structure of the HTML you're trying to convert.
This library has one function, html2text, which takes a an html &str and
returns a plain text String
On [crates.io](https://crates.io/crates/nanohtml2text)
Comes with a command line utility in main.rs to process from stdin if you want
to test/experiment with it
Contributing
------------
git-send-email or git-request-pull to [me](mailto:alex@alexwennerberg.com)