# 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"
name = "txn_lock"
version = "0.9.0"
authors = ["code@tinychain.net"]
description = "Utilities to support transactional versioning"
readme = "README.md"
keywords = [
    "transaction",
    "transactional",
    "lock",
    "version",
    "versioning",
]
categories = [
    "concurrency",
    "data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/haydnv/tinychain.git"

[dependencies.collate]
version = "0.4"

[dependencies.ds-ext]
version = "~0.1.7"

[dependencies.futures]
version = "0.3"

[dependencies.hr-id]
version = "0.5"
optional = true

[dependencies.log]
version = "0.4"
features = ["release_max_level_info"]
optional = true

[dependencies.tokio]
version = "1.35"
features = [
    "sync",
    "rt",
]

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.tokio]
version = "1.35"
features = ["time"]

[features]
all = [
    "hr-id",
    "logging",
]
id = ["hr-id"]
logging = ["log"]
