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

#242 in Database interfaces

Download history 65/week @ 2024-07-29 7/week @ 2024-08-05 10/week @ 2024-08-26 23/week @ 2024-09-09 24/week @ 2024-09-16 65/week @ 2024-09-23 8/week @ 2024-09-30 10/week @ 2024-10-07 7/week @ 2024-10-14 5/week @ 2024-10-21 141/week @ 2024-11-04 12/week @ 2024-11-11

159 downloads per month
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"] }

lib.rs:

Rust language bindings for XA Distributed Transactions.

  • A synchronous variant is provided in module sync
  • An asynchronous variant is provided in module a_sync

See the respective module description for more details.

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

~0.4–1MB
~22K SLoC