summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2023-05-02 16:49:17 +0800
committerGitHub <noreply@github.com>2023-05-02 10:49:17 +0200
commitafc30ca87948c11f603f6686d4b10d3dcc27776a (patch)
treed52781ac11128914f43fce51fa8c59fb54bb7acf /lib/pure
parent2844ac8b5eb6efce18e10b246e874719b20d36b2 (diff)
downloadNim-afc30ca87948c11f603f6686d4b10d3dcc27776a.tar.gz
fixes #19863; move sha1, md5 to nimble packages for 2.0 (#21702)
* move sha1, md5 to nimble packages

* boot the compiler

* fixes tests

* build the documentation

* fixes docs

* lol, I forgot koch.nim

* add `nimHasChecksums` define

* clone checksums but maybe copying is better

* bump nimble hash

* use ChecksumsStableCommit

* fixes tests

* deprecate them

* fixes paths

* fixes koch
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/md5.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/pure/md5.nim b/lib/pure/md5.nim
index cd4d1e6b8..81c85a07c 100644
--- a/lib/pure/md5.nim
+++ b/lib/pure/md5.nim
@@ -18,6 +18,8 @@
 ## * `hashes module<hashes.html>`_ for efficient computations of hash values
 ##   for diverse Nim types
 
+{.deprecated: "use command `nimble install checksums` and import `checksums/md5` instead".}
+
 when defined(nimHasStyleChecks):
   {.push styleChecks: off.}
 
@@ -343,4 +345,4 @@ proc md5Final*(c: var MD5Context, digest: var MD5Digest) =
 
 
 when defined(nimHasStyleChecks):
-  {.pop.} #{.push styleChecks: off.}
+  {.pop.} #{.push styleChecks: off.}
\ No newline at end of file