[package]
edition = "2021"
name = "soil-txpool"
version = "0.2.0"
authors = ["Soil contributors <legal@bitarray.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Soil transaction pool implementation"
homepage = "https://soil.rs"
readme = false
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
repository = "https://github.com/soil-rs/soil"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[lib]
name = "soil_txpool"
path = "src/lib.rs"
[[test]]
name = "fatp"
path = "tests/fatp.rs"
[[test]]
name = "fatp_finality_timeout"
path = "tests/fatp_finality_timeout.rs"
[[test]]
name = "fatp_invalid"
path = "tests/fatp_invalid.rs"
[[test]]
name = "fatp_limits"
path = "tests/fatp_limits.rs"
[[test]]
name = "fatp_prios"
path = "tests/fatp_prios.rs"
[[test]]
name = "pool"
path = "tests/pool.rs"
[[bench]]
name = "basics"
path = "benches/basics.rs"
harness = false
[dependencies.async-trait]
version = "0.1.88"
[dependencies.codec]
version = "3.7.5"
default-features = true
package = "parity-scale-codec"
[dependencies.futures]
version = "0.3.31"
[dependencies.futures-timer]
version = "3.0.2"
[dependencies.indexmap]
version = "2.7.1"
[dependencies.itertools]
version = "0.11"
[dependencies.linked-hash-map]
version = "0.5.4"
[dependencies.parking_lot]
version = "0.12.1"
default-features = true
[dependencies.serde]
version = "1.0.214"
features = ["derive"]
default-features = true
[dependencies.soil-client]
version = "0.2.0"
default-features = true
[dependencies.soil-prometheus]
version = "0.2.0"
default-features = true
[dependencies.strum]
version = "0.26.3"
features = ["derive"]
default-features = false
[dependencies.subsoil]
version = "0.2.0"
default-features = true
[dependencies.subsoil-crypto-hashing]
version = "0.2.0"
default-features = true
[dependencies.thiserror]
version = "1.0.64"
[dependencies.tokio]
version = "1.45.0"
features = [
"macros",
"time",
]
default-features = true
[dependencies.tokio-stream]
version = "0.1.14"
[dependencies.tracing]
version = "0.1.37"
default-features = true
[dev-dependencies.anyhow]
version = "1.0.81"
default-features = false
[dev-dependencies.assert_matches]
version = "1.5.0"
[dev-dependencies.chrono]
version = "0.4.31"
[dev-dependencies.criterion]
version = "0.5.1"
default-features = true
[dev-dependencies.env_logger]
version = "0.11.2"
[dev-dependencies.rstest]
version = "0.18.2"
[dev-dependencies.serde]
version = "1.0.214"
default-features = false
[dev-dependencies.serde_json]
version = "1.0.132"
default-features = false
[dev-dependencies.tokio]
version = "1.45.0"
features = ["rt-multi-thread"]
default-features = false
[dev-dependencies.tracing-subscriber]
version = "=0.3.19"
[lints.clippy.all]
level = "allow"
priority = 0
[lints.clippy.bind_instead_of_map]
level = "allow"
priority = 2
[lints.clippy.borrowed-box]
level = "allow"
priority = 2
[lints.clippy.complexity]
level = "warn"
priority = 1
[lints.clippy.correctness]
level = "warn"
priority = 1
[lints.clippy.default_constructed_unit_structs]
level = "allow"
priority = 2
[lints.clippy.derivable_impls]
level = "allow"
priority = 2
[lints.clippy.eq_op]
level = "allow"
priority = 2
[lints.clippy.erasing_op]
level = "allow"
priority = 2
[lints.clippy.extra-unused-type-parameters]
level = "allow"
priority = 2
[lints.clippy.identity-op]
level = "allow"
priority = 2
[lints.clippy.if-same-then-else]
level = "allow"
priority = 2
[lints.clippy.needless-lifetimes]
level = "allow"
priority = 2
[lints.clippy.needless_option_as_deref]
level = "allow"
priority = 2
[lints.clippy.nonminimal-bool]
level = "allow"
priority = 2
[lints.clippy.option-map-unit-fn]
level = "allow"
priority = 2
[lints.clippy.stable_sort_primitive]
level = "allow"
priority = 2
[lints.clippy.too-many-arguments]
level = "allow"
priority = 2
[lints.clippy.type_complexity]
level = "allow"
priority = 2
[lints.clippy.unit_arg]
level = "allow"
priority = 2
[lints.clippy.unnecessary_cast]
level = "allow"
priority = 2
[lints.clippy.useless_conversion]
level = "allow"
priority = 2
[lints.clippy.while_immutable_condition]
level = "allow"
priority = 2
[lints.clippy.zero-prefixed-literal]
level = "allow"
priority = 2
[lints.rust.suspicious_double_ref_op]
level = "allow"
priority = 2
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
'cfg(build_opt_level, values("3"))',
'cfg(build_profile, values("debug", "release"))',
"cfg(enable_alloc_error_handler)",
"cfg(fuzzing)",
"cfg(ignore_flaky_test)",
"cfg(substrate_runtime)",
]