remove some deprecated pre-1.0 stdlib modules (#20202)

* remove pre-1.0 stdlib deprecations

notable exceptions:
* ze, toU8 etc in system/arithmetics
* potentially callsite

* undo macros, ospaths, securehash, oswalkdir

* add sets back

* add back future, document deprecated versions

* add to changelog [skip ci]
This commit is contained in:
metagn 2022-08-23 21:18:40 +03:00 • committed by GitHub
commit f4af9e955b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 18 additions and 980 deletions

View file

@ -1,4 +0,0 @@
{.deprecated: "Use the new 'sugar' module instead".}
include sugar

View file

@ -1,6 +1,6 @@
# Include file that implements 'getEnv' and friends. Do not import it!
when not declared(os) and not declared(ospaths):
when not declared(os):
{.error: "This is an include file for os.nim!".}
when not defined(nimscript):

View file

@ -1,6 +1,6 @@
# Include file that implements 'osErrorMsg' and friends. Do not import it!
when not declared(os) and not declared(ospaths):
when not declared(os):
{.error: "This is an include file for os.nim!".}
when not defined(nimscript):