linear-api 0.1.0

Unofficial async Rust client for the Linear GraphQL API (API-key auth)
Documentation
{
  "issue": {
    "id": "0193b1a0-4d5e-4000-8000-000000000042",
    "identifier": "ENG-42",
    "number": 42,
    "title": "Fix the flux capacitor",
    "description": "The flux capacitor drains the battery when idle.",
    "url": "https://linear.app/acme/issue/ENG-42/fix-the-flux-capacitor",
    "branchName": "ada/eng-42-fix-the-flux-capacitor",
    "priority": 2,
    "priorityLabel": "High",
    "estimate": 3,
    "dueDate": "2026-08-01",
    "sortOrder": -1024.56,
    "createdAt": "2026-07-01T12:00:00.000Z",
    "updatedAt": "2026-07-04T08:30:00.000Z",
    "completedAt": null,
    "canceledAt": null,
    "startedAt": "2026-07-02T09:00:00.000Z",
    "archivedAt": null,
    "state": {
      "id": "11111111-1111-4111-8111-111111111111",
      "name": "In Progress",
      "type": "started",
      "color": "#f2c94c"
    },
    "team": {
      "id": "22222222-2222-4222-8222-222222222222",
      "key": "ENG",
      "name": "Engineering"
    },
    "assignee": {
      "id": "33333333-3333-4333-8333-333333333333",
      "name": "Ada Lovelace",
      "displayName": "ada"
    },
    "creator": {
      "id": "44444444-4444-4444-8444-444444444444",
      "name": "Grace Hopper",
      "displayName": "grace"
    },
    "labels": {
      "nodes": [
        {
          "id": "55555555-5555-4555-8555-555555555555",
          "name": "bug",
          "color": "#eb5757"
        },
        {
          "id": "66666666-6666-4666-8666-666666666666",
          "name": "backend",
          "color": "#5e6ad2"
        }
      ]
    },
    "project": {
      "id": "77777777-7777-4777-8777-777777777777",
      "name": "Time Machine"
    },
    "projectMilestone": {
      "id": "88888888-8888-4888-8888-888888888888",
      "name": "M1 - Ignition"
    },
    "parent": {
      "id": "99999999-9999-4999-8999-999999999999",
      "identifier": "ENG-40",
      "title": "Stabilize the DeLorean"
    },
    "relations": {
      "nodes": [
        {
          "type": "blocks",
          "relatedIssue": {
            "id": "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa",
            "identifier": "ENG-43",
            "title": "Ship the dashboard UI"
          }
        }
      ]
    },
    "inverseRelations": {
      "nodes": [
        {
          "type": "blocks",
          "issue": {
            "id": "bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb",
            "identifier": "ENG-41",
            "title": "Order plutonium"
          }
        }
      ]
    }
  }
}