# 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 = "mongodb-lock" version = "0.3.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Rusty distributed locking backed by Mongodb." documentation = "https://docs.rs/mongodb-lock/" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/JonathanWoollett-Light/mongodb-lock" [lib] name = "mongodb_lock" path = "src/lib.rs" [[test]] name = "integration_tests" path = "tests/integration_tests.rs" [dependencies.bson] version = "2.13.0" [dependencies.displaydoc] version = "0.2.4" [dependencies.mongodb] version = "3.1.0" [dependencies.serde] version = "1.0.210" features = ["derive"] [dependencies.thiserror] version = "1.0.63" [dependencies.tokio] version = "1.40.0" features = ["full"] [dependencies.uuid] version = "1.10.0" features = ["v4"] [dev-dependencies.futures] version = "0.3.31" [dev-dependencies.tracing] version = "0.1.40" [dev-dependencies.tracing-subscriber] version = "0.3.18" [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" missing_trait_methods = "allow" module_name_repetitions = "allow" pattern_type_mismatch = "allow" pub_underscore_fields = "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