developers.do

TOML Parser

Parse, validate, format, and convert TOML — supports round-trip to JSON via smol-toml

Mode:
{
  "package": {
    "name": "my-app",
    "version": "1.0.0"
  },
  "dependencies": {
    "serde": "1.0",
    "tokio": {
      "version": "1.0",
      "features": [
        "full"
      ]
    }
  },
  "features": {
    "default": []
  },
  "profile": {
    "release": {
      "opt-level": 3,
      "debug": false
    }
  }
}

Backed by smol-toml — a small, spec-compliant TOML 1.0 parser. Date/time values are emitted as ISO strings; nested tables become nested objects.