neptune-database 0.14.0

LevelDB-backed async storage layer (schema, vectors, maps) used by neptune-cash
# 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 = "neptune-database"
version = "0.14.0"
authors = ["Triton Software"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "LevelDB-backed async storage layer (schema, vectors, maps) used by neptune-cash"
homepage = "https://neptune.cash/"
readme = false
license = "Apache-2.0"
repository = "https://github.com/Neptune-Crypto/neptune-core/"

[features]
test-helpers = []

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

[dependencies.anyhow]
version = "1.0"
features = ["backtrace"]

[dependencies.async-stream]
version = "0.3.6"

[dependencies.async-trait]
version = "0.1.83"

[dependencies.bincode]
version = "1.3"

[dependencies.futures]
version = "0.3"

[dependencies.itertools]
version = "0.14"

[dependencies.leveldb-sys]
version = "2.0.9"

[dependencies.neptune-locks]
version = "0.14.0"

[dependencies.rand]
version = "0.9"

[dependencies.rs-leveldb]
version = "0.1.5"

[dependencies.serde]
version = "1.0"
features = ["derive"]

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

[dependencies.tracing]
version = "0.1"

[dev-dependencies.macro_rules_attr]
version = "0.1.3"

[dev-dependencies.tokio]
version = "1.47"
features = ["rt-multi-thread"]

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.twenty-first]
version = "1.1.0"

[lints.clippy]
cast_lossless = "warn"
cloned_instead_of_copied = "warn"
collapsible-match = "allow"
copy_iterator = "warn"
doc_link_with_quotes = "warn"
enum_glob_use = "warn"
expl_impl_clone_on_copy = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
filter_map_next = "warn"
flat_map_option = "warn"
fn_params_excessive_bools = "warn"
inefficient_to_string = "warn"
invalid_upcast_comparisons = "warn"
items_after_statements = "warn"
large_digit_groups = "warn"
macro_use_imports = "warn"
manual_assert = "warn"
manual_instant_elapsed = "warn"
manual_let_else = "warn"
manual_ok_or = "warn"
many_single_char_names = "warn"
match_wild_err_arm = "warn"
match_wildcard_for_single_variants = "warn"
mismatching_type_param_order = "warn"
mut_mut = "warn"
needless_continue = "warn"
needless_for_each = "warn"
needless_ifs = "warn"
no_effect_underscore_binding = "warn"
option_option = "warn"
redundant_else = "warn"
ref_binding_to_reference = "warn"
ref_option_ref = "warn"
result_large_err = "allow"
same_functions_in_if_condition = "warn"
unchecked_time_subtraction = "warn"
uninlined_format_args = "allow"
unnecessary_box_returns = "warn"
unnecessary_join = "warn"
unnecessary_wraps = "warn"
unnested_or_patterns = "warn"
unused_async = "warn"
used_underscore_binding = "warn"
verbose_bit_mask = "warn"

[lints.rust]
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage,coverage_nightly)"]