# 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"
rust-version = "1.95.0"
name = "bitcoin-rs-mempool"
version = "0.1.0"
authors = ["bitcoin-rs contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "bitcoin-rs :: mempool"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/bitcoin-rs/bitcoin-rs"

[features]
default = []
fjall = []
redb = []
rocksdb = []

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

[[test]]
name = "ancestor_limits"
path = "tests/ancestor_limits.rs"

[[test]]
name = "pareto_ordering"
path = "tests/pareto_ordering.rs"

[[test]]
name = "rbf_bip125"
path = "tests/rbf_bip125.rs"

[dependencies.arc-swap]
version = ">=1.9.1, <2"
default-features = false

[dependencies.bitcoin]
version = ">=0.32.9, <0.33"
features = [
    "std",
    "secp-recovery",
    "serde",
    "rand-std",
]
default-features = false

[dependencies.bitcoin-rs-consensus]
version = "0.1.0"
default-features = false

[dependencies.bitcoin-rs-primitives]
version = "0.1.0"

[dependencies.bitcoin-rs-script]
version = "0.1.0"
default-features = false

[dependencies.bytemuck]
version = ">=1.25, <2"
features = ["derive"]
default-features = false

[dependencies.hashbrown]
version = ">=0.17.1, <0.18"
features = [
    "inline-more",
    "default-hasher",
    "allocator-api2",
]
default-features = false

[dependencies.parking_lot]
version = ">=0.12.5, <0.13"
features = [
    "arc_lock",
    "send_guard",
]
default-features = false

[dependencies.slab]
version = ">=0.4.12, <0.5"
features = [
    "std",
    "serde",
]
default-features = false

[dependencies.smallvec]
version = ">=1.15, <2"
features = [
    "union",
    "const_generics",
    "const_new",
]
default-features = false

[dependencies.thiserror]
version = ">=2, <3"
features = ["std"]
default-features = false

[dependencies.tinyvec]
version = ">=1.11, <2"
features = ["alloc"]
default-features = false

[dependencies.tracing]
version = ">=0.1.44, <0.2"
features = [
    "std",
    "attributes",
]
default-features = false

[dev-dependencies.proptest]
version = ">=1.11, <2"
features = ["std"]
default-features = false

[dev-dependencies.serde_json]
version = ">=1, <2"
features = [
    "std",
    "raw_value",
]
default-features = false

[lints.clippy]
as_conversions = "deny"
cast_lossless = "deny"
collapsible_if = "allow"
dbg_macro = "deny"
expect_used = "warn"
format_push_string = "allow"
into_iter_without_iter = "allow"
iter_without_into_iter = "allow"
manual_let_else = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
mod_module_files = "deny"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
option_if_let_else = "allow"
redundant_pub_crate = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_field_names = "allow"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"
