2024-05-29 01:18:30 +00:00
|
|
|
[package]
|
2024-05-29 19:00:29 +00:00
|
|
|
name = "cuprate-txpool"
|
|
|
|
version = "0.0.0"
|
|
|
|
edition = "2021"
|
|
|
|
description = "Cuprate's transaction pool database"
|
|
|
|
license = "MIT"
|
2024-08-22 01:09:07 +00:00
|
|
|
authors = ["Boog900"]
|
|
|
|
repository = "https://github.com/Cuprate/cuprate/tree/main/storage/txpool"
|
2024-05-29 19:00:29 +00:00
|
|
|
keywords = ["cuprate", "txpool", "transaction", "pool", "database"]
|
|
|
|
|
|
|
|
[features]
|
2024-08-22 01:09:07 +00:00
|
|
|
default = ["heed", "service"]
|
|
|
|
# default = ["redb", "service"]
|
|
|
|
# default = ["redb-memory", "service"]
|
|
|
|
heed = ["cuprate-database/heed"]
|
|
|
|
redb = ["cuprate-database/redb"]
|
|
|
|
redb-memory = ["cuprate-database/redb-memory"]
|
|
|
|
service = ["dep:tower", "dep:rayon", "dep:cuprate-database-service"]
|
|
|
|
serde = ["dep:serde", "cuprate-database/serde", "cuprate-database-service/serde"]
|
2024-05-29 01:18:30 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-08-22 01:09:07 +00:00
|
|
|
cuprate-database = { path = "../database", features = ["heed"] }
|
|
|
|
cuprate-database-service = { path = "../service", optional = true }
|
|
|
|
cuprate-types = { path = "../../types" }
|
|
|
|
cuprate-helper = { path = "../../helper", default-features = false, features = ["constants"] }
|
|
|
|
|
|
|
|
monero-serai = { workspace = true, features = ["std"] }
|
|
|
|
bytemuck = { workspace = true, features = ["must_cast", "derive", "min_const_generics", "extern_crate_alloc"] }
|
|
|
|
bitflags = { workspace = true, features = ["std", "serde", "bytemuck"] }
|
|
|
|
thiserror = { workspace = true }
|
|
|
|
hex = { workspace = true }
|
|
|
|
|
|
|
|
tower = { workspace = true, optional = true }
|
|
|
|
rayon = { workspace = true, optional = true }
|
|
|
|
|
|
|
|
serde = { workspace = true, optional = true }
|
2024-05-29 19:00:29 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-08-22 01:09:07 +00:00
|
|
|
cuprate-test-utils = { path = "../../test-utils" }
|
|
|
|
|
|
|
|
tokio = { workspace = true }
|
|
|
|
tempfile = { workspace = true }
|
|
|
|
hex-literal = { workspace = true }
|
2024-09-02 17:12:54 +00:00
|
|
|
|
|
|
|
[lints]
|
|
|
|
workspace = true
|