#structs #transaction #atomic #commit #revert #system #operations

deq

Deq - A simple rust transaction system that allows reverting any changes made to a struct

7 releases

Uses old Rust 2015

0.2.1 Aug 24, 2021
0.2.0 Aug 24, 2021
0.1.5 Aug 23, 2021
0.1.2 Jun 2, 2021
0.1.1 May 29, 2021

#1536 in Database interfaces

MIT license

9KB
210 lines

Deq

A simple container for revertable struct operations. Deq allows you to easily make atomic changes to structs and either commit them or revert them.

Table of Contents

Usage

Add this to your Cargo.toml

deq = "0.2.1"

To get started see The Example.

Maintainers

@unlink2.

Contributing

Feel free to dive in! Open an issue or submit PRs.

License

MIT © Lukas Krickl

Dependencies

~160KB