[package] name = "aptos-time-service" version = "0.2.7" authors = ["Aptos Labs "] description = "Time Service for mocking time with tokio" repository = "https://github.com/aptos-labs/aptos-core" homepage = "https://aptoslabs.com" license = "Apache-2.0" edition = "2018" [dependencies] enum_dispatch = "0.3.8" futures = { version = "0.3.12", optional = true } pin-project = { version = "1.0.10", optional = true } thiserror = "1.0.31" tokio = { version = "1.18.2", features = [ "macros", "rt-multi-thread", "time" ], optional = true } aptos-infallible = { version = "0.2.1", path = "../../crates/aptos-infallible" } [dev-dependencies] futures = "0.3.21" pin-project = "1.0.10" tokio = { version = "1.18.2", features = ["macros", "rt-multi-thread", "time"] } tokio-test = "0.4.1" [features] default = [] async = ["futures", "pin-project", "tokio"] testing = ["async"]