wit-parser 0.247.0

Tooling for parsing `*.wit` files and working with their contents.
Documentation
{
  "worlds": [
    {
      "name": "w1",
      "imports": {
        "interface-0": {
          "interface": {
            "id": 0
          }
        },
        "imp1": {
          "interface": {
            "id": 1
          }
        }
      },
      "exports": {},
      "package": 1
    }
  ],
  "interfaces": [
    {
      "name": "i1",
      "types": {
        "a": 0
      },
      "functions": {},
      "package": 0
    },
    {
      "name": null,
      "types": {
        "a": 1
      },
      "functions": {
        "fn": {
          "name": "fn",
          "kind": "freestanding",
          "params": [
            {
              "name": "a",
              "type": 1
            }
          ]
        }
      },
      "package": 1
    }
  ],
  "types": [
    {
      "name": "a",
      "kind": {
        "type": "u32"
      },
      "owner": {
        "interface": 0
      }
    },
    {
      "name": "a",
      "kind": {
        "type": 0
      },
      "owner": {
        "interface": 1
      }
    }
  ],
  "packages": [
    {
      "name": "foo:name",
      "interfaces": {
        "i1": 0
      },
      "worlds": {}
    },
    {
      "name": "bar:name",
      "interfaces": {},
      "worlds": {
        "w1": 0
      }
    },
    {
      "name": "foo:root",
      "interfaces": {},
      "worlds": {}
    }
  ]
}