[package] name = "lembaran" version = "0.3.0" edition = "2021" publish = true license = "MIT OR Apache-2.0" description = "Pagination library." repository = "https://github.com/kafji/lembaran" keywords = ["pagination"] categories = ["asynchronous", "web-programming::http-client"] [features] ext_http = ["hyper_http"] ext_reqwest = ["ext_http", "url", "reqwest"] [dependencies] bstr = { version = "0.2" } hyper_http = { package = "http", version = "0.2", optional = true } reqwest = { version = "0.11", optional = true } url = { version = "2", optional = true } [dev-dependencies] anyhow = "1" async-stream = "0.3" futures = { version = "0.3" } serde = { version = "1", features = ["derive"] } reqwest = { version = "0.11", features = ["json"] } tokio = { version = "1", features = ["full"] } [[example]] name = "reqwest" required-features = ["ext_reqwest"]