[package]
edition = "2021"
name = "apollo_time"
version = "0.18.0-rc.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Time utilities and abstractions for testing and production."
readme = false
license = "Apache-2.0"
repository = "https://github.com/starkware-libs/sequencer/"
[features]
testing = ["mockall"]
tokio = ["dep:tokio"]
[lib]
name = "apollo_time"
path = "src/lib.rs"
[dependencies.chrono]
version = "0.4.26"
[dependencies.mockall]
version = "0.12.1"
optional = true
[dependencies.tokio]
version = "1.47.1"
features = ["time"]
optional = true
[dev-dependencies.mockall]
version = "0.12.1"
[lints.clippy]
as_conversions = "warn"
await_holding_lock = "warn"
await_holding_refcell_ref = "warn"
[lints.rust]
future-incompatible = "warn"
nonstandard-style = "warn"
rust-2018-idioms = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(coverage_nightly)",
"cfg(addr_of)",
]