A generic optimistic transaction manger, which is ACID, concurrent with SSI (Serializable Snapshot Isolation).
(For async version, please see [`async-txn`](https://crates.io/crates/async-txn))
[
][Github-url]
[
][CI-url]
[
][codecov-url]
[
][doc-url]
[
][crates-url]
[
][crates-url]
English | [简体中文][zh-cn-url]
## Introduction
A generic optimistic transaction manger, which is ACID, concurrent with SSI (Serializable Snapshot Isolation).
(For async version, please see [`txn`](https://crates.io/crates/txn))
This crate is inspired by and port from [`badger`](https://github.com/dgraph-io/badger)'s transaction implementation.
## Installation
```toml
[dependencies]
txn = "0.1"
```
#### License
`txn` is under the terms of both the MIT license and the
Apache License (Version 2.0).
See [LICENSE-APACHE](LICENSE-APACHE), [LICENSE-MIT](LICENSE-MIT) for details.
Copyright (c) 2024 Al Liu.
Copyright (c) 2017 Dgraph's developers
[Github-url]: https://github.com/al8n/skipdb/
[CI-url]: https://github.com/al8n/skipdb/actions/workflows/ci.yml
[doc-url]: https://docs.rs/txn
[crates-url]: https://crates.io/crates/txn
[codecov-url]: https://app.codecov.io/gh/al8n/skipdb/
[zh-cn-url]: https://github.com/al8n/skipdb/tree/main/txn/README-zh_CN.md