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

#318 in Database interfaces


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
~26K SLoC