[package] name = "dataloader" version = "0.17.0" edition = "2018" authors = ["cksac "] description = "Rust implementation of Facebook's DataLoader using async-await." keywords = ["batcher", "dataloader", "cache"] categories = ["asynchronous", "caching"] license = "MIT/Apache-2.0" readme = "README.md" repository = "https://github.com/cksac/dataloader-rs" homepage = "https://github.com/cksac/dataloader-rs" documentation = "https://docs.rs/dataloader" [badges] travis-ci = { repository = "/cksac/dataloader-rs" } [features] default = ["runtime-async-std"] runtime-async-std = [ "async-std", ] runtime-tokio = [ "tokio" ] [dependencies] async-std = { version = "1.12", optional = true } tokio = { version = "1.21", features = [ "sync", "rt" ], optional = true } [dev-dependencies] futures = "0.3" fake = { version = "2.5", features = ["derive"] } rand = "0.8" juniper = "0.15" async-graphql = { version = "4.0", default-features = false } serde_json = "1.0"