# 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.1.3"
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"

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

[dependencies.fxhash]
version = "0.2"

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

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

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

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