gil 0.9.0

A collection of high-performance, lock-free concurrent queues (SPSC, MPSC, MPMC, SPMC) with sync and async support
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 = "gil"
version = "0.9.0"
authors = ["Abhik Jain <abhik@abhikjain.xyz>"]
build = false
exclude = [
    ".lazy.lua",
    "Cargo.lock",
    "AGENTS.md",
    "CLAUDE.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A collection of high-performance, lock-free concurrent queues (SPSC, MPSC, MPMC, SPMC) with sync and async support"
homepage = "https://github.com/abhikjain360/gil"
documentation = "https://docs.rs/gil"
readme = "README.md"
keywords = [
    "queue",
    "spsc",
    "channel",
    "async",
    "lock-free",
]
categories = [
    "concurrency",
    "data-structures",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/abhikjain360/gil"

[features]
async = ["dep:futures"]
async-std = [
    "async",
    "std",
    "futures/std",
]
default = ["std"]
std = ["dep:atomic-wait"]

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

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

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

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

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

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

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

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

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

[[example]]
name = "spsc_async_test"
path = "examples/spsc_async_test.rs"
required-features = ["async"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.atomic-wait]
version = "1.1.0"
optional = true

[dependencies.futures]
version = "0.3.31"
optional = true
default-features = false

[dependencies.loom]
version = "0.7.2"
optional = true

[dev-dependencies.criterion]
version = "0.8.2"
features = [
    "async",
    "async_futures",
    "real_blackbox",
]

[dev-dependencies.libc]
version = "0.2.181"

[profile.profiling]
debug = 2
inherits = "release"
strip = false