mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-23 12:09:52 +00:00
53 lines
2.1 KiB
TOML
53 lines
2.1 KiB
TOML
[package]
|
|
name = "cuprate-blockchain"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
description = "Cuprate's blockchain database"
|
|
license = "MIT"
|
|
authors = ["hinto-janai"]
|
|
repository = "https://github.com/Cuprate/cuprate/tree/main/storage/cuprate-blockchain"
|
|
keywords = ["cuprate", "blockchain", "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:thread_local", "dep:rayon", "cuprate-helper/thread"]
|
|
serde = ["dep:serde", "cuprate-helper/serde", "cuprate-database-service/serde", "cuprate-database/serde"]
|
|
|
|
[dependencies]
|
|
cuprate-database = { workspace = true }
|
|
cuprate-database-service = { workspace = true }
|
|
cuprate-helper = { workspace = true, features = ["fs", "map", "crypto"] }
|
|
cuprate-types = { workspace = true, features = ["blockchain"] }
|
|
cuprate-pruning = { workspace = true }
|
|
|
|
bitflags = { workspace = true, features = ["std", "serde", "bytemuck"] }
|
|
bytemuck = { workspace = true, features = ["must_cast", "derive", "min_const_generics", "extern_crate_alloc"] }
|
|
curve25519-dalek = { workspace = true }
|
|
rand = { workspace = true }
|
|
monero-serai = { workspace = true, features = ["std"] }
|
|
serde = { workspace = true, optional = true }
|
|
|
|
# `service` feature.
|
|
tower = { workspace = true }
|
|
thread_local = { workspace = true, optional = true }
|
|
rayon = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
cuprate-constants = { workspace = true }
|
|
cuprate-helper = { workspace = true, features = ["thread", "cast"] }
|
|
cuprate-test-utils = { workspace = true }
|
|
|
|
tokio = { workspace = true, features = ["full"] }
|
|
tempfile = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|
|
proptest = { workspace = true }
|
|
hex = { workspace = true }
|
|
hex-literal = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|