undoredo 0.8.23

Delta-based undo-redo decorator for collections such as HashMap, BTreeMap, StableVec, thunderdome::Arena, rstar::RTree. No need to implement commands.
Documentation
// SPDX-FileCopyrightText: 2025 undoredo contributors
//
// SPDX-License-Identifier: MIT OR Apache-2.0

#![cfg(feature = "std")]

#[path = "../common/mod.rs"]
mod common;

use std::collections::HashMap;

use undoredo::Recorder;

#[test]
fn test_apply_delta_at_specified_indices() {
    let recorder = Recorder::<HashMap<usize, i32>>::new(HashMap::new());
    common::test_apply_delta_at_specified_indices(recorder);
}

#[test]
fn test_insert_and_remove_at_specified_indices() {
    let recorder = Recorder::<HashMap<usize, i32>>::new(HashMap::new());
    common::test_insert_and_remove_at_specified_indices(recorder);
}

#[test]
fn test_undo_redo_at_specified_indices() {
    common::test_undo_redo_at_specified_indices::<
        usize,
        i32,
        HashMap<usize, i32>,
        HashMap<usize, i32>,
    >(HashMap::new());
}