Repository navigation
mojo-toml-public v0.2.4
Released: 2026-11-08 · Commit: 646dc85 · Previous: v0.2.3
What it does
A TOML 1.1 parser written in pure Mojo. It passes the complete official
conformance suite, toml-test v2.2.0:
214/214 valid and 467/467 invalid documents, on Mojo 1.2.0 and on the 1.2 nightly.
from toml import parse
def main() raises:
var doc = parse(open("config.toml", "r").read())
var server = doc["server"]
print(server["host"].as_string(), server["port"].as_int())Highlights
- Packaging only: the conda recipe pins
mojo-compilerto the minor the package was built with (<1.3.0a0), so it cannot be installed on a Mojo it does not load on. - Also: gate scripts capture output instead of piping into grep -q (audit pipe-grepq).
Changes
Changed
recipe.yaml:mojo-compilerrun dependency pinned to the build's minor (<1.3.0a0).
Fixed
- Gate scripts capture output instead of piping into grep -q (audit pipe-grepq).
Verified
| Check | Result |
|---|---|
pkg-conda dry run on the version commit (H1-H3,H6) |
PASS: mojo-toml-0.2.4-hb0f4dca_0.conda |
Known limits
- Packages are built on one Mojo minor only; see the package protocol.
Upgrade / run
None: no API change.
Commits
646dc85build: bump version to 0.2.4cd9d470fix: conformance gate captures output instead of piping into grep -q638ea56build: recipe pins mojo-compiler to the build's minor