Rust language bindings for XA Distributed Transactions

Latest version Documentation License

Usage

Add dist_tx to the dependencies section in your project's Cargo.toml:

toml [dependencies] dist_tx = "0.3"

Crate Features

The lib has two features, sync and async, which are both default features, but usually you only need one of them. To minimize your dependency, disable default features and select the feature you need explicitly, e.g.

toml [dependencies] dist_tx = { version = "0.3", default-features = false, features = ["async"] }

or

toml [dependencies] dist_tx = { version = "0.3", default_features = false, features = ["sync"] }