Standard library: stdlib

stdlib provides the standard DUST libraries, including bitsets, bytes, errors, encoding, hashing, lexical paths, math, seeded random generation, regular expressions, strings, and time. The plugin has no settings.

Configuration

Select this plugin explicitly when opening the database:

dust19 B
{plugins <stdlib>}

Usage

After selecting stdlib, use its functions in DUST expressions. An explicit seed to crypto/sign/ed25519/generate-keypair or argument list to cli/parse keeps those calls independent of host state. For example, (strings/case "upper" "hello") returns "HELLO".

Contributions

Namespaces

NamespaceContribution
bitsetsFull namespace
bytesFull namespace
charsFull namespace
cli
collectionsFull namespace
comparisonsFull namespace
crypto/paseto/v4/publicFull namespace
crypto/sign/ed25519
documentsFull namespace
encodingFull namespace
encoding/bencodeFull namespace
encoding/dustFull namespace
encoding/ednFull namespace
encoding/jsonFull namespace
encoding/ronFull namespace
encoding/tronFull namespace
errorsFull namespace
formats/csv
fs
functionsFull namespace
hashes
Functions
hashes/digest
listsFull namespace
mapsFull namespace
mathFull namespace
math/aabbsFull namespace
math/frustumsFull namespace
math/matricesFull namespace
math/noise
math/planesFull namespace
math/quaternionsFull namespace
math/raysFull namespace
math/spheresFull namespace
math/trianglesFull namespace
math/vectorsFull namespace
pegsFull namespace
processes/shell
randomFull namespace
regexesFull namespace
schemas
Functions
schemas/load
stats
Functions
stats/median
stringsFull namespace
templatesFull namespace
terminals
testsFull namespace
time