[dependencies.parking_lot]
version = "0.12"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"
[dependencies.serde_json]
optional = true
version = "1.0"
[dev-dependencies.async-std]
features = ["attributes", "tokio1"]
version = "1.0"
[dev-dependencies.parking_lot]
version = "0.12"
[dev-dependencies.tokio]
features = ["full"]
version = "1.0"
[[example]]
name = "advanced_usage"
path = "examples/advanced_usage.rs"
[[example]]
name = "async_std_http_server"
path = "examples/async_std_http_server.rs"
[[example]]
name = "atomic_usage"
path = "examples/atomic_usage.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[example]]
name = "constructor_usage"
path = "examples/constructor_usage.rs"
[[example]]
name = "http_integration_helpers"
path = "examples/http_integration_helpers.rs"
[[example]]
name = "no_clone_usage"
path = "examples/no_clone_usage.rs"
[[example]]
name = "socket_client_usage"
path = "examples/socket_client_usage.rs"
[[example]]
name = "tokio_http_server"
path = "examples/tokio_http_server.rs"
[[example]]
name = "worker_management"
path = "examples/worker_management.rs"
[features]
default = []
serialize = ["serde", "serde_json"]
[lib]
name = "thread_share"
path = "src/lib.rs"
[package]
authors = ["s00d <s00d@github.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["concurrency", "asynchronous", "data-structures"]
description = "A Rust library for safe and efficient data sharing between threads with zero-copy operations, change detection, and enhanced thread management."
documentation = "https://docs.rs/thread-share"
edition = "2024"
homepage = "https://github.com/s00d/thread-share"
keywords = ["thread", "concurrency", "shared-data", "zero-copy", "thread-safe"]
license = "MIT"
name = "thread-share"
readme = "README.md"
repository = "https://github.com/s00d/thread-share"
rust-version = "1.85.0"
version = "0.1.6"
[package.metadata.docs.rs]
all-features = true
exclude = ["examples/*"]
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "atomic_tests"
path = "tests/atomic_tests.rs"
[[test]]
name = "core_tests"
path = "tests/core_tests.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "locked_tests"
path = "tests/locked_tests.rs"
[[test]]
name = "macro_tests"
path = "tests/macro_tests.rs"
[[test]]
name = "performance_tests"
path = "tests/performance_tests.rs"
[[test]]
name = "serialization_tests"
path = "tests/serialization_tests.rs"
[[test]]
name = "thread_share_tests"
path = "tests/thread_share_tests.rs"
[[test]]
name = "worker_manager_tests"
path = "tests/worker_manager_tests.rs"