Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecate htmlparser #22870

Merged
merged 4 commits into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:"

Expand Down
2 changes: 2 additions & 0 deletions lib/pure/htmlparser.nim
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
## writeFile("output.html", $html)
## ```

{.deprecated: "use command `nimble install htmlparser` and import `pkg/htmlparser` instead".}
Araq marked this conversation as resolved.
Show resolved Hide resolved

import strutils, streams, parsexml, xmltree, unicode, strtabs

when defined(nimPreviewSlimSystem):
Expand Down
Loading