mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-25 21:19:22 +00:00
eead49beb0
* cargo.toml: transfer existing lints * rpc/interface: lints * rpc/json-rpc: lints * rpc/types: lints * storage/blockchain: lints * rpc/types: fix lints * cargo.toml: fix lint group priority * storage/blockchain: fix lints * fix misc lints * storage/database: fixes * storage/txpool: opt in lints + fixes * types: opt in + fixes * helper: opt in + fixes * types: remove borsh * rpc/interface: fix test * test fixes * database: fix lints * fix lint * tabs -> spaces * blockchain: `config/` -> `config.rs`
46 lines
No EOL
1.8 KiB
TOML
46 lines
No EOL
1.8 KiB
TOML
[package]
|
|
name = "cuprate-txpool"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
description = "Cuprate's transaction pool database"
|
|
license = "MIT"
|
|
authors = ["Boog900"]
|
|
repository = "https://github.com/Cuprate/cuprate/tree/main/storage/txpool"
|
|
keywords = ["cuprate", "txpool", "transaction", "pool", "database"]
|
|
|
|
[features]
|
|
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"]
|
|
|
|
[dependencies]
|
|
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 }
|
|
|
|
[dev-dependencies]
|
|
cuprate-test-utils = { path = "../../test-utils" }
|
|
|
|
tokio = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
hex-literal = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true |