neptune-mempool 0.14.0

Neptune transaction mempool: the Mempool store, its transaction-id and upgrade-priority abstractions, and the proof-quality policy used for gossip and replacement
# 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 = "2024"
name = "neptune-mempool"
version = "0.14.0"
authors = ["Triton Software"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Neptune transaction mempool: the Mempool store, its transaction-id and upgrade-priority abstractions, and the proof-quality policy used for gossip and replacement"
homepage = "https://neptune.cash/"
readme = false
license = "Apache-2.0"
repository = "https://github.com/Neptune-Crypto/neptune-core/"
resolver = "2"

[features]
arbitrary-impls = [
    "dep:arbitrary",
    "dep:proptest",
    "dep:proptest-arbitrary-interop",
    "neptune-consensus/arbitrary-impls",
    "neptune-mutator-set/arbitrary-impls",
    "neptune-primitives/arbitrary-impls",
]
mock-rpc = ["dep:rand"]
test-helpers = [
    "arbitrary-impls",
    "dep:bincode",
]

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

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

[dependencies.arbitrary]
version = "1.4.1"
features = ["derive"]
optional = true

[dependencies.bincode]
version = "1.3"
optional = true

[dependencies.bytesize]
version = "1.3"

[dependencies.get-size2]
version = "0.7"
features = ["derive"]

[dependencies.itertools]
version = "0.14"

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

[dependencies.neptune-mutator-set]
version = "0.14.0"

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

[dependencies.neptune-rpc-api]
version = "0.14.0"

[dependencies.num-rational]
version = "0.4"

[dependencies.num-traits]
version = "0.2"

[dependencies.priority-queue]
version = "1.4"

[dependencies.proptest]
version = "1.7"
optional = true

[dependencies.proptest-arbitrary-interop]
version = "0.1"
optional = true

[dependencies.rand]
version = "0.9"
optional = true

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

[dependencies.strum]
version = "0.27.0"
features = ["derive"]

[dependencies.tasm-lib]
version = "7.0.0"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.bincode]
version = "1.3"

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

[dev-dependencies.neptune-consensus]
version = "0.14.0"
features = ["test-helpers"]

[dev-dependencies.neptune-mutator-set]
version = "0.14.0"
features = ["test-helpers"]

[dev-dependencies.neptune-primitives]
version = "0.14.0"
features = ["test-helpers"]

[dev-dependencies.num-bigint]
version = "0.4"
features = ["serde"]

[dev-dependencies.proptest]
version = "1.7"

[dev-dependencies.proptest-arbitrary-interop]
version = "0.1"

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.test-strategy]
version = "0.3"

[dev-dependencies.tokio]
version = "1.47"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
]

[dev-dependencies.tracing-test]
version = "0.2"

[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)"]