10 unstable releases (4 breaking)

0.5.0 Jan 13, 2024
0.4.0 Dec 30, 2023
0.3.0 Jan 28, 2023
0.2.4 May 20, 2020
0.1.0 Jan 29, 2018

#325 in Database interfaces

Download history 8/week @ 2024-01-10 10/week @ 2024-02-14 47/week @ 2024-02-21 16/week @ 2024-02-28 3/week @ 2024-03-06 14/week @ 2024-03-13 26/week @ 2024-03-27 30/week @ 2024-04-03

56 downloads per month
Used in 3 crates

MIT/Apache

90KB
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.6–1.1MB
~25K SLoC