sheets-diff 2.5.0

Structured diff engine for Microsoft Excel .xlsx workbooks
Documentation
{
  "old": {
    "source": {
      "kind": "Bytes",
      "display_name": null
    },
    "workbook_name": null,
    "sheet_count": 1
  },
  "new": {
    "source": {
      "kind": "Bytes",
      "display_name": null
    },
    "workbook_name": null,
    "sheet_count": 1
  },
  "sheets": [
    {
      "old_sheet": {
        "name": "Sheet1",
        "index": 0
      },
      "new_sheet": {
        "name": "Sheet1",
        "index": 0
      },
      "change": "Modified",
      "cell_diffs": [
        {
          "address": {
            "row": 2,
            "col": 1,
            "a1": "A2"
          },
          "value": {
            "old": {
              "Text": "id_1"
            },
            "new": {
              "Text": "id_inserted"
            },
            "reason": "ContentChanged"
          },
          "formula": null,
          "format": null,
          "diagnostics": []
        },
        {
          "address": {
            "row": 2,
            "col": 2,
            "a1": "B2"
          },
          "value": {
            "old": {
              "Text": "val_1"
            },
            "new": {
              "Text": "val_inserted"
            },
            "reason": "ContentChanged"
          },
          "formula": null,
          "format": null,
          "diagnostics": []
        },
        {
          "address": {
            "row": 3,
            "col": 1,
            "a1": "A3"
          },
          "value": {
            "old": {
              "Text": "id_2"
            },
            "new": {
              "Text": "id_1"
            },
            "reason": "ContentChanged"
          },
          "formula": null,
          "format": null,
          "diagnostics": []
        },
        {
          "address": {
            "row": 3,
            "col": 2,
            "a1": "B3"
          },
          "value": {
            "old": {
              "Text": "val_2"
            },
            "new": {
              "Text": "val_1"
            },
            "reason": "ContentChanged"
          },
          "formula": null,
          "format": null,
          "diagnostics": []
        },
        {
          "address": {
            "row": 4,
            "col": 1,
            "a1": "A4"
          },
          "value": {
            "old": {
              "Text": "id_3"
            },
            "new": {
              "Text": "id_2"
            },
            "reason": "ContentChanged"
          },
          "formula": null,
          "format": null,
          "diagnostics": []
        },
        {
          "address": {
            "row": 4,
            "col": 2,
            "a1": "B4"
          },
          "value": {
            "old": {
              "Text": "val_3"
            },
            "new": {
              "Text": "val_2"
            },
            "reason": "ContentChanged"
          },
          "formula": null,
          "format": null,
          "diagnostics": []
        },
        {
          "address": {
            "row": 5,
            "col": 1,
            "a1": "A5"
          },
          "value": {
            "old": "Empty",
            "new": {
              "Text": "id_3"
            },
            "reason": "TypeChanged"
          },
          "formula": null,
          "format": null,
          "diagnostics": []
        },
        {
          "address": {
            "row": 5,
            "col": 2,
            "a1": "B5"
          },
          "value": {
            "old": "Empty",
            "new": {
              "Text": "val_3"
            },
            "reason": "TypeChanged"
          },
          "formula": null,
          "format": null,
          "diagnostics": []
        }
      ],
      "compared_range": {
        "start": [
          1,
          1
        ],
        "end": [
          5,
          2
        ]
      },
      "alignment_summary": null,
      "diagnostics": [],
      "summary": {
        "cells_changed": 8,
        "values_changed": 8,
        "formulas_changed": 0
      }
    }
  ],
  "workbook_changes": [],
  "object_changes": [],
  "diagnostics": [
    {
      "severity": "Info",
      "kind": {
        "UnsupportedWorkbookFeature": {
          "feature": "non-cell objects"
        }
      },
      "location": {
        "stage": "Metadata",
        "sheet_order": null,
        "sheet_name": null,
        "address": null
      },
      "message": "not compared: charts, images, comments, data validation, and conditional formatting (unavailable in calamine 0.36's API); hyperlinks, merged regions, tables, and pivot tables (available upstream, not yet used by this crate)"
    }
  ],
  "summary": {
    "sheets_added": 0,
    "sheets_removed": 0,
    "sheets_renamed": 0,
    "sheets_moved": 0,
    "sheets_changed": 1,
    "cells_changed": 8,
    "values_changed": 8,
    "formulas_changed": 0,
    "diagnostics": {
      "errors": 0,
      "warnings": 0,
      "info": 1
    }
  },
  "metrics": {
    "sheets_read": 1,
    "cells_read": 18,
    "cells_compared": 10,
    "diffs_emitted": 8,
    "diagnostics_emitted": 1
  }
}