[package] name = "async-interval" version = "0.3.1" authors = ["vkill "] edition = "2021" description = "Async Interval" license = "Apache-2.0 OR MIT" repository = "https://github.com/bk-rs/timer-rs" homepage = "https://github.com/bk-rs/timer-rs" documentation = "https://docs.rs/async-interval" keywords = [] categories = [] readme = "README.md" [package.metadata.docs.rs] all-features = true [features] default = ["std", "stream"] std = [] stream = ["futures-util"] impl_tokio = ["tokio", "futures-util"] impl_async_timer = ["async-timer", "futures-util"] impl_async_io = ["async-io", "futures-util"] [dependencies] futures-util = { version = "0.3", default-features = false, optional = true } tokio = { version = "1", default-features = false, features = ["time"], optional = true } async-timer = { version = "1.0.0-beta", default-features = false, optional = true } async-io = { version = "1", default-features = false, optional = true } [dev-dependencies] tokio = { version = "1", features = ["macros", "rt-multi-thread"] } [package.metadata.cargo-all-features] skip_optional_dependencies = true skip_feature_sets = [ ["impl_tokio", "impl_async_timer"], ["impl_tokio", "impl_async_io"], ["impl_async_timer", "impl_async_io"], # ["stream", "impl_async_timer"], ["stream", "impl_async_io"], ]