tfio 0.3.0

A library that provides a Transaction-like interface traditionally used in databases, applied to FileIO operations.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.85"
name = "tfio"
version = "0.3.0"
authors = ["Tanishq Jain <tanishqjain1002@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library that provides a Transaction-like interface traditionally used in databases, applied to FileIO operations."
documentation = "https://docs.rs/tfio"
readme = "README.md"
license = "MIT"
repository = "https://github.com/MovAh13h/tfio"

[features]
tokio = ["dep:tokio"]

[lib]
name = "tfio"
path = "src/lib.rs"

[[example]]
name = "async_transaction"
path = "examples/async_transaction.rs"
required-features = ["tokio"]

[[example]]
name = "rollback_on_error"
path = "examples/rollback_on_error.rs"

[[example]]
name = "transaction"
path = "examples/transaction.rs"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "fs",
    "io-util",
]
optional = true

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "rt-multi-thread",
]