[package]
name = "sc-transaction-pool"
version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
description = "Substrate transaction pool implementation."
readme = "README.md"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "2.0.0" }
thiserror = "1.0.30"
futures = "0.3.16"
futures-timer = "3.0.2"
log = "0.4.8"
parity-util-mem = { version = "0.10.2", default-features = false, features = ["primitive-types"] }
parking_lot = "0.11.2"
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.10.0-dev"}
sc-client-api = { version = "4.0.0-dev", path = "../api" }
sp-api = { version = "4.0.0-dev", path = "../../primitives/api" }
sp-core = { version = "5.0.0", path = "../../primitives/core" }
sp-runtime = { version = "5.0.0", path = "../../primitives/runtime" }
sp-tracing = { version = "4.0.0", path = "../../primitives/tracing" }
sp-transaction-pool = { version = "4.0.0-dev", path = "../../primitives/transaction-pool" }
sc-transaction-pool-api = { version = "4.0.0-dev", path = "./api" }
sp-blockchain = { version = "4.0.0-dev", path = "../../primitives/blockchain" }
sc-utils = { version = "4.0.0-dev", path = "../utils" }
serde = { version = "1.0.136", features = ["derive"] }
linked-hash-map = "0.5.4"
retain_mut = "0.1.4"

[dev-dependencies]
assert_matches = "1.3.0"
hex = "0.4"
sp-consensus = { version = "0.10.0-dev", path = "../../primitives/consensus/common" }
substrate-test-runtime-transaction-pool = { version = "2.0.0", path = "../../test-utils/runtime/transaction-pool" }
substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" }
sc-block-builder = { version = "0.10.0-dev", path = "../block-builder" }
codec = { package = "parity-scale-codec", version = "2.0.0" }
substrate-test-runtime = { version = "2.0.0", path = "../../test-utils/runtime" }
criterion = "0.3"

[[bench]]
name = "basics"
harness = false
