mirror of
https://github.com/mempool/mempool.git
synced 2025-02-25 07:07:36 +01:00
If cargo detects its being run in a git tree, it looks for a top-level `Cargo.toml`. When failing to find one, it errors out, saying "current package believes it's in a workspace when it's not." Instead, we add a `[workspace]` tag to let cargo know that rust-gbt is not, in fact, in a rust workspace.
27 lines
648 B
TOML
27 lines
648 B
TOML
[package]
|
|
name = "gbt"
|
|
version = "0.1.0"
|
|
description = "An inefficient re-implementation of the getBlockTemplate algorithm in Rust"
|
|
authors = ["mononaut"]
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[workspace]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
priority-queue = "1.3.2"
|
|
bytes = "1.4.0"
|
|
napi = { version = "2.13.2", features = ["napi8", "tokio_rt"] }
|
|
napi-derive = "2.13.0"
|
|
bytemuck = "1.13.1"
|
|
tracing = "0.1.36"
|
|
tracing-log = "0.1.3"
|
|
tracing-subscriber = { version = "0.3.15", features = ["env-filter"]}
|
|
|
|
[build-dependencies]
|
|
napi-build = "2.0.1"
|