Stdlib reference
Every entry on this page comes from stdlib.json
, a single
IonDocManifest document embedded in
ion-core at compile time. The Ion language server reads
the same manifest for hover and completion, so what you see here is
what you'll get in your editor.
Modules
-
bytes— Byte construction, encoding, concatenation, and endian packing. -
core— Global builtins available in every Ion program without `use`. -
fs— Filesystem I/O. Sync (`std::fs`) or async (`tokio::fs`) impl picked by the build's runtime feature. -
io— Standard input/output. -
json— JSON encoding and decoding. -
log— Leveled logging — `log::trace` / `debug` / `info` / `warn` / `error`. Compile-time stripped above the cap. -
math— Mathematical constants and functions. -
os— OS / arch detection, environment variables, and process info. -
path— Pure-string path manipulation (no I/O). -
rand— Random values, ranges, and collection sampling. -
semver— Semantic version parsing, comparison, and constraint matching. -
string— String utilities. -
types— Built-in value types and the methods callable on them.