summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--changelog.md1
-rw-r--r--lib/pure/htmlparser.nim2
2 files changed, 3 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md
index 58efde163..b094dd0eb 100644
--- a/changelog.md
+++ b/changelog.md
@@ -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:"
 
diff --git a/lib/pure/htmlparser.nim b/lib/pure/htmlparser.nim
index 0de384a8e..8bf149721 100644
--- a/lib/pure/htmlparser.nim
+++ b/lib/pure/htmlparser.nim
@@ -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):