Deprecate std/sharedlist and std/sharedtables (#19112)
This commit is contained in:
parent
b0f4a9b845
commit
46fb855425
7 changed files with 7 additions and 9 deletions
|
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
## Standard library additions and changes
|
## Standard library additions and changes
|
||||||
|
|
||||||
|
- `std/sharedlist` and `std/sharedtables` are now deprecated, see RFC [#433](https://github.com/nim-lang/RFCs/issues/433).
|
||||||
|
|
||||||
### New compile flag (`-d:nimNoGetRandom`) when building `std/sysrand` to remove dependency on linux `getrandom` syscall
|
### New compile flag (`-d:nimNoGetRandom`) when building `std/sysrand` to remove dependency on linux `getrandom` syscall
|
||||||
|
|
||||||
This compile flag only affects linux builds and is necessary if either compiling on a linux kernel version < 3.17, or if code built will be executing on kernel < 3.17.
|
This compile flag only affects linux builds and is necessary if either compiling on a linux kernel version < 3.17, or if code built will be executing on kernel < 3.17.
|
||||||
|
|
|
||||||
|
|
@ -282,7 +282,7 @@
|
||||||
- Removed the deprecated `asyncdispatch.newAsyncNativeSocket`.
|
- Removed the deprecated `asyncdispatch.newAsyncNativeSocket`.
|
||||||
- Removed the deprecated `dom.releaseEvents` and `dom.captureEvents`.
|
- Removed the deprecated `dom.releaseEvents` and `dom.captureEvents`.
|
||||||
|
|
||||||
- Removed `sharedlists.initSharedList`, was deprecated and produces undefined behaviour.
|
- Removed `sharedlist.initSharedList`, was deprecated and produces undefined behaviour.
|
||||||
|
|
||||||
- There is a new experimental feature called "strictFuncs" which makes the definition of
|
- There is a new experimental feature called "strictFuncs" which makes the definition of
|
||||||
`.noSideEffect` stricter. [See here](manual_experimental.html#stricts-funcs)
|
`.noSideEffect` stricter. [See here](manual_experimental.html#stricts-funcs)
|
||||||
|
|
|
||||||
|
|
@ -134,12 +134,6 @@ Collections
|
||||||
* `sets <sets.html>`_
|
* `sets <sets.html>`_
|
||||||
Nim hash set support.
|
Nim hash set support.
|
||||||
|
|
||||||
* `sharedlist <sharedlist.html>`_
|
|
||||||
Nim shared linked list support. Contains a shared singly-linked list.
|
|
||||||
|
|
||||||
* `sharedtables <sharedtables.html>`_
|
|
||||||
Nim shared hash table support. Contains shared tables.
|
|
||||||
|
|
||||||
* `tables <tables.html>`_
|
* `tables <tables.html>`_
|
||||||
Nim hash table support. Contains tables, ordered tables, and count tables.
|
Nim hash table support. Contains tables, ordered tables, and count tables.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,6 @@ runnableExamples:
|
||||||
|
|
||||||
## # See also
|
## # See also
|
||||||
## * `deques module <deques.html>`_ for double-ended queues
|
## * `deques module <deques.html>`_ for double-ended queues
|
||||||
## * `sharedlist module <sharedlist.html>`_ for shared singly-linked lists
|
|
||||||
|
|
||||||
import std/private/since
|
import std/private/since
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,8 @@
|
||||||
##
|
##
|
||||||
## Unstable API.
|
## Unstable API.
|
||||||
|
|
||||||
|
{.deprecated.}
|
||||||
|
|
||||||
{.push stackTrace: off.}
|
{.push stackTrace: off.}
|
||||||
|
|
||||||
import
|
import
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,8 @@
|
||||||
##
|
##
|
||||||
## Unstable API.
|
## Unstable API.
|
||||||
|
|
||||||
|
{.deprecated.}
|
||||||
|
|
||||||
import
|
import
|
||||||
hashes, math, locks
|
hashes, math, locks
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -191,7 +191,6 @@ runnableExamples:
|
||||||
##
|
##
|
||||||
## * `json module<json.html>`_ for table-like structure which allows
|
## * `json module<json.html>`_ for table-like structure which allows
|
||||||
## heterogeneous members
|
## heterogeneous members
|
||||||
## * `sharedtables module<sharedtables.html>`_ for shared hash table support
|
|
||||||
## * `strtabs module<strtabs.html>`_ for efficient hash tables
|
## * `strtabs module<strtabs.html>`_ for efficient hash tables
|
||||||
## mapping from strings to strings
|
## mapping from strings to strings
|
||||||
## * `hashes module<hashes.html>`_ for helper functions for hashing
|
## * `hashes module<hashes.html>`_ for helper functions for hashing
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue