#transaction #synchronous #async #distributed #xa

dist_tx

Rust language bindings for XA Distributed Transactions

11 releases

0.5.1 Nov 5, 2024
0.5.0 Jan 13, 2024
0.4.0 Dec 30, 2023
0.3.0 Jan 28, 2023
0.2.1 Feb 7, 2018

#435 in Database interfaces


Used in 3 crates

MIT/Apache

91KB
1.5K SLoC

Rust language bindings for XA Distributed Transactions

Latest version Documentation License

XA Distributed Transactions support transactions across multiple transactional databases.

This library can be used in synchronous or in asynchronous contexts.

Crate Features

Technically, the features sync and async are both optional features, usually you need exactly one of them. Select the feature sync or async explicitly.

[dependencies]
dist_tx = { version = "0.5", features = ["async"] }

or

[dependencies]
dist_tx = { version = "0.5", features = ["sync"] }

Dependencies

~0.4–1MB
~22K SLoC