[package]
edition = "2024"
name = "messaging_thread_pool"
version = "5.0.3"
authors = ["cainem"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for aiding the creation of typed thread pool of objects that is communicated with via channels"
homepage = "https://github.com/cainem/messaging-thread-pool"
documentation = "https://docs.rs/messaging_thread_pool/latest/messaging_thread_pool/"
readme = "README.md"
keywords = [
"threadpool",
"thread",
"pool",
"parallelism",
"messaging",
]
categories = ["concurrency"]
license = "MIT"
repository = "https://github.com/cainem/messaging-thread-pool"
resolver = "2"
[lib]
name = "messaging_thread_pool"
path = "src/lib.rs"
[[test]]
name = "example_chat_room"
path = "tests/example_chat_room.rs"
[[test]]
name = "example_mocking"
path = "tests/example_mocking.rs"
[[test]]
name = "example_rc_state"
path = "tests/example_rc_state.rs"
[[test]]
name = "example_simple"
path = "tests/example_simple.rs"
[[test]]
name = "example_two_level"
path = "tests/example_two_level.rs"
[[test]]
name = "macro_test"
path = "tests/macro_test.rs"
[[test]]
name = "regression_tests"
path = "tests/regression_tests.rs"
[[bench]]
name = "element_creation"
path = "benches/element_creation.rs"
harness = false
[[bench]]
name = "element_creation_with_mimalloc"
path = "benches/element_creation_with_mimalloc.rs"
harness = false
[[bench]]
name = "example_random_batches"
path = "benches/example_random_batches.rs"
harness = false
[[bench]]
name = "message_throughput"
path = "benches/message_throughput.rs"
harness = false
[dependencies.crossbeam-channel]
version = "0.5.15"
[dependencies.messaging-thread-pool-macros]
version = "0.1.2"
[dependencies.rand]
version = "0.9.0"
[dependencies.rand_xoshiro]
version = "0.7.0"
[dependencies.tracing]
version = "0.1.41"
features = [
"max_level_trace",
"release_max_level_trace",
]
[dependencies.tracing-appender]
version = "0.2.3"
[dependencies.tracing-attributes]
version = "0.1.30"
[dependencies.tracing-core]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3.20"
features = [
"json",
"env-filter",
]
[dev-dependencies.const_format]
version = "0.2.35"
[dev-dependencies.criterion]
version = "0.7.0"
[dev-dependencies.mimalloc]
version = "0.1"
[profile.release]
debug = 2