[package]
edition = "2024"
name = "scuffle-batching"
version = "0.1.6"
authors = ["Scuffle <opensource@scuffle.cloud>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Optimized batching and dataloading for external services."
documentation = "https://docs.rs/scuffle-batching"
readme = "README.md"
keywords = [
"batching",
"dataloading",
"external",
"services",
"async",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/scufflecloud/scuffle"
[package.metadata.cargo-sync-rdme.badge]
style = "flat-square"
[package.metadata.cargo-sync-rdme.badge.badges]
codecov = true
crates-io = true
docs-rs = true
license = true
[package.metadata.cargo-sync-rdme.badge.badges.github-actions]
workflows = "ci.yaml"
[package.metadata.cargo-sync-rdme.rustdoc.mappings]
changelog = "./CHANGELOG.md"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
"--sort-modules-by-appearance",
"--generate-link-to-definition",
]
[package.metadata.xtask.powerset]
additive-features = ["docs"]
[features]
docs = [
"dep:scuffle-changelog",
"dep:document-features",
]
[lib]
name = "scuffle_batching"
path = "src/lib.rs"
[[bench]]
name = "scuffle-batching-batcher"
path = "benchmarks/batcher.rs"
harness = false
[[bench]]
name = "scuffle-batching-dataloader"
path = "benchmarks/dataloader.rs"
harness = false
[dependencies.document-features]
version = "0.2"
optional = true
[dependencies.scuffle-changelog]
version = "0.1.0"
optional = true
[dependencies.scuffle-workspace-hack]
version = "0.1.0"
[dependencies.tokio]
version = "1"
features = [
"rt",
"sync",
"time",
]
default-features = false
[dependencies.tokio-util]
version = "0.7"
[dev-dependencies.criterion]
version = "0.7"
features = ["async_tokio"]
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.tokio]
version = "1"
features = ["macros"]
[dev-dependencies.tokio-test]
version = "0.4.4"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(coverage_nightly)",
"cfg(valgrind)",
]