# 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 = "2018" name = "redislock" version = "1.3.0" authors = ["hxuchen IronC "] description = "Implementation of the distributed locking mechanism built on top of Redis" homepage = "https://github.com/hxuchen/redislock" readme = "README.md" keywords = [ "distributed", "locking", ] license = "BSD-3-Clause" repository = "https://github.com/hxuchen/redislock" [dependencies.rand] version = "0.8.3" [dependencies.redis] version = "0.21.0" [dependencies.tokio] version = "1.7.1" features = ["rt"] optional = true [dev-dependencies.anyhow] version = "1.0.40" [dev-dependencies.once_cell] version = "1.7.2" [dev-dependencies.testcontainers] version = "0.12.0" [features] async = ["tokio"] default = [] tls = ["redis/tls"]