suck/Cargo.toml
Callum Leslie f8effc1d29
Some checks failed
CI / Run tests (push) Has been cancelled
CI / Lint (push) Has been cancelled
Release-plz / Release-plz release (push) Has been cancelled
Release-plz / Release-plz PR (push) Has been cancelled
chore: release v0.0.3
2026-03-04 21:13:15 +00:00

43 lines
1.2 KiB
TOML

[package]
name = "suck"
description = "Suck data up through a channel"
authors = ["Callum Leslie <git@cleslie.uk>"]
version = "0.0.3"
edition = "2024"
documentation = "https://docs.rs/suck"
homepage = "https://github.com/callumio/suck"
repository = "https://github.com/callumio/suck"
readme = "README.md"
license = "MIT"
keywords = ["channel", "pull", "producer-consumer", "threading"]
categories = ["concurrency", "data-structures", "rust-patterns"]
exclude = ["flake.nix", "flake.lock", ".envrc", "cliff.toml", "release-plz.toml", "rustfmt.toml", ".github"]
[dependencies]
thiserror = "2.0"
flume = { version = "0.12", optional = true }
crossbeam-channel = { version = "0.5", optional = true }
arc-swap = "1.7.1"
tokio = { version = "1.48", features = ["sync", "macros", "rt-multi-thread"], optional = true }
async-trait = { version = "0.1", optional = true }
[features]
default = ["all"]
sync = []
async = ["dep:async-trait"]
sync-std = ["sync"]
sync-flume = ["sync", "dep:flume"]
sync-crossbeam = ["sync", "dep:crossbeam-channel"]
async-tokio = ["async", "dep:tokio"]
all-sync = ["sync-std", "sync-flume", "sync-crossbeam"]
all-async = ["async-tokio"]
all = ["all-sync", "all-async"]
[lib]
[package.metadata.docs.rs]
all-features = true