Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "buffer_sv2"
version = "4.0.0"
authors = ["The Stratum V2 Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "buffer"
homepage = "https://stratumprotocol.org"
documentation = "https://docs.rs/buffer_sv2"
readme = "README.md"
keywords = [
    "stratum",
    "mining",
    "bitcoin",
    "protocol",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/stratum-mining/stratum"

[features]
debug = []
fuzz = []

[lib]
name = "buffer_sv2"
path = "src/lib.rs"

[[example]]
name = "basic_buffer_pool"
path = "examples/basic_buffer_pool.rs"

[[example]]
name = "buffer_pool_exhaustion"
path = "examples/buffer_pool_exhaustion.rs"

[[example]]
name = "variable_sized_messages"
path = "examples/variable_sized_messages.rs"

[[bench]]
name = "control_struct"
path = "benches/control_struct.rs"

[[bench]]
name = "pool_benchmark"
path = "benches/pool_benchmark.rs"
harness = false

[[bench]]
name = "pool_iai"
path = "benches/pool_iai.rs"
harness = false

[dev-dependencies.criterion]
version = "0.3"

[dev-dependencies.iai]
version = "0.1"

[dev-dependencies.rand]
version = "0.8.5"
default-features = true

[dev-dependencies.rayon-core]
version = "=1.12.1"