Collections
-
[]T
collections.vec
Functional combinators for arrays:
map,filter,fold,any,all,first,last. -
KV
collections.hashmap
Hash map with open addressing and linear probing. Supports map-literal syntax
["k": v, ...],get,insert,remove,iter,filter, and more.
Data
-
SV
data.semver
Semantic versioning 2.0.0 — parse, compare, and serialize
MAJOR.MINOR.PATCH[-pre][+build]strings.
Encoding
-
{}
encoding.json
JSON parser and serializer (RFC 8259). Full type support: null, bool, number, string, array, object.
Time
-
⏱
time.duration
Duration,Timestamp, andMonotonic— nanosecond-precision time with ergonomic integer extensions (5.seconds(),1.hour()).
More modules
The following modules are available in source but not yet on this page. See GitHub for the full stdlib.
collections.dequecollections.setcollections.lruconcurrency.retryconcurrency.timercrypto.sha256crypto.hmacencoding.base64encoding.tomlencoding.csvidentifiers.uuidpath.pathtext.regexruntime.gcruntime.fibers