# 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 = "redis-lock" version = "0.5.1" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Rusty distributed locking backed by Redis." documentation = "https://docs.rs/redis-lock/" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/JonathanWoollett-Light/redis-lock" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "redis_lock" path = "src/lib.rs" [[bin]] name = "five" path = "src/bin/five.rs" [[bin]] name = "four" path = "src/bin/four.rs" [[bin]] name = "one" path = "src/bin/one.rs" required-features = ["sync"] [[bin]] name = "three" path = "src/bin/three.rs" [[bin]] name = "two" path = "src/bin/two.rs" required-features = ["sync"] [[test]] name = "integration_tests" path = "tests/integration_tests.rs" [dependencies.displaydoc] version = "0.2.5" [dependencies.futures] version = "0.3.31" [dependencies.rand] version = "0.8.5" [dependencies.redis] version = "0.27.5" features = [ "aio", "tokio-comp", ] [dependencies.thiserror] version = "1.0.65" [dependencies.tokio] version = "1.41.0" features = ["full"] [dependencies.tracing] version = "0.1.40" [dependencies.uuid] version = "1.11.0" features = ["v4"] [dev-dependencies.indicatif] version = "0.17.9" [dev-dependencies.serial_test] version = "3.1.1" [dev-dependencies.tracing-subscriber] version = "0.3.18" [features] sync = [] [lints.clippy] absolute_paths = "allow" blanket_clippy_restriction_lints = "allow" bool_assert_comparison = "allow" enum_glob_use = "allow" exhaustive_enums = "allow" exhaustive_structs = "allow" implicit_return = "allow" match_wildcard_for_single_variants = "allow" min_ident_chars = "allow" missing_trait_methods = "allow" module_name_repetitions = "allow" pattern_type_mismatch = "allow" pub_underscore_fields = "allow" pub_use = "allow" question_mark_used = "allow" single_call_fn = "allow" single_char_lifetime_names = "allow" std_instead_of_alloc = "allow" std_instead_of_core = "allow" unneeded_field_pattern = "allow" unseparated_literal_suffix = "allow" used_underscore_binding = "allow" wildcard_enum_match_arm = "allow" wildcard_imports = "allow" [lints.clippy.pedantic] level = "warn" priority = -1 [lints.clippy.restriction] level = "warn" priority = -1 [lints.rust] dependency_on_unit_never_type_fallback = "allow"