apollo_time 0.18.0-rc.1

Time utilities and abstractions for testing and production.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[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)",
]