mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-22 19:49:28 +00:00
e7c6bba63d
Some checks are pending
Audit / audit (push) Waiting to run
CI / fmt (push) Waiting to run
CI / typo (push) Waiting to run
CI / ci (macos-latest, stable, bash) (push) Waiting to run
CI / ci (ubuntu-latest, stable, bash) (push) Waiting to run
CI / ci (windows-latest, stable-x86_64-pc-windows-gnu, msys2 {0}) (push) Waiting to run
Deny / audit (push) Waiting to run
Doc / build (push) Waiting to run
Doc / deploy (push) Blocked by required conditions
* Split `BlockBlobs` database table + misc fixes - Split the `BlockBlobs` database table into two new tables: `BlockHeaderBlobs` and `BlockTxsHashes`. - `add_block`, `pop_block` and `get_block_extended_header` have been edited consequently. - `VerifiedBlockInformation` now have a `mining_tx_index: u64` field. - Made `cuprate-helper`'s `thread` feature a dependency of the `service` feature - Edited service test mapping of output. It is now a full iterator. * fix fmt * Update storage/blockchain/src/types.rs Co-authored-by: Boog900 <boog900@tutanota.com> * Update storage/blockchain/src/ops/block.rs Co-authored-by: Boog900 <boog900@tutanota.com> * fix warning --------- Co-authored-by: Boog900 <boog900@tutanota.com>
51 lines
1.9 KiB
TOML
51 lines
1.9 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"]
|
|
|
|
[dependencies]
|
|
cuprate-database = { path = "../database" }
|
|
cuprate-database-service = { path = "../service" }
|
|
cuprate-helper = { path = "../../helper", features = ["fs", "map"] }
|
|
cuprate-types = { path = "../../types", features = ["blockchain"] }
|
|
cuprate-pruning = { path = "../../pruning" }
|
|
|
|
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-helper = { path = "../../helper", features = ["thread", "cast"] }
|
|
cuprate-test-utils = { path = "../../test-utils" }
|
|
|
|
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
|