Expand description
Standard library modules for the Shape runtime.
Each submodule implements a std::* namespace accessible from Shape code.
Modules follow the ModuleExports
pattern established by stdlib_time.rs.
All I/O-capable modules are tagged with required capabilities in
capability_tags and enforced at compile time via the permission system.
Modulesยง
- archive
- Native
archivemodule for creating and extracting zip/tar archives. - capability_
tags - Static mapping of stdlib module functions to required permissions.
- compress
- Native
compressmodule for data compression and decompression. - crypto
- Native
cryptomodule for hashing, encoding, and signing utilities. - csv_
module - Native
csvmodule for CSV parsing and serialization. - deterministic
- Deterministic runtime for sandbox mode.
- env
- Native
envmodule for environment variable and system info access. - file
- Native
filemodule for high-level filesystem operations. - http
- Native
httpmodule for making HTTP requests. - json
- Native
jsonmodule for JSON parsing and serialization. - msgpack_
module - Native
msgpackmodule for MessagePack encoding and decoding. - parallel
- Native
parallelmodule for data-parallel operations. - regex
- Native
regexmodule for regular expression operations. - runtime_
policy - Runtime policy and filesystem provider abstraction.
- set_
module - Native
setmodule for unordered collections of unique elements. - toml_
module - Native
tomlmodule for TOML parsing and serialization. - unicode
- Native
unicodemodule for Unicode text processing. - virtual_
fs - In-memory virtual filesystem for sandbox mode.
- xml
- Native
xmlmodule for XML parsing and serialization. - yaml
- Native
yamlmodule for YAML parsing and serialization.