poolshark 0.2.7

Thread safe object pool
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 = "2024"
name = "poolshark"
version = "0.2.7"
authors = ["Eric Stokes <letaris@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Thread safe object pool"
documentation = "https://docs.rs/poolshark"
readme = "README.md"
keywords = [
    "pool",
    "recycle",
    "object-pool",
]
categories = [
    "caching",
    "memory-management",
]
license = "MIT"
repository = "https://github.com/estokes/poolshark"

[features]
default = [
    "triomphe",
    "indexmap",
    "serde",
]
indexmap = ["dep:indexmap"]
serde = [
    "dep:serde",
    "dep:serde_derive",
]
triomphe = ["dep:triomphe"]

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

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

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

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

[dependencies.crossbeam-queue]
version = "0.3"

[dependencies.fxhash]
version = "0.2"

[dependencies.indexmap]
version = "2"
optional = true

[dependencies.poolshark_derive]
version = "0.1.1"

[dependencies.serde]
version = "1"
optional = true

[dependencies.serde_derive]
version = "1"
optional = true

[dependencies.triomphe]
version = "0.1"
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[profile.bench]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
strip = true