deprecate htmlparser (#22870)

ref https://github.com/nim-lang/Nim/pull/22848
see also https://github.com/nim-lang/htmlparser
will build the documentation later when everything else is settled

---------

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
This commit is contained in:
ringabout
2023-10-26 19:07:50 +08:00
committed by GitHub
parent cef5e57eb5
commit 0e45b01b21
2 changed files with 3 additions and 0 deletions

View File

@@ -11,6 +11,7 @@
- Changed `std/osfiles.copyFile` to allow to specify `bufferSize` instead of a hardcoded one.
- Changed `std/osfiles.copyFile` to use `POSIX_FADV_SEQUENTIAL` hints for kernel-level aggressive sequential read-aheads.
- `std/htmlparser` has been moved to a nimble package, use `nimble` or `atlas` to install it.
[//]: # "Additions:"

View File

@@ -47,6 +47,8 @@
## writeFile("output.html", $html)
## ```
{.deprecated: "use `nimble install htmlparser` and import `pkg/htmlparser` instead".}
import strutils, streams, parsexml, xmltree, unicode, strtabs
when defined(nimPreviewSlimSystem):