[package]
name = "time"
version = "0.2.7"
authors = ["Jacob Pratt <the.z.cuber@gmail.com>"]
edition = "2018"
repository = "https://github.com/time-rs/time"
keywords = ["date", "time", "calendar", "duration"]
categories = ["date-and-time"]
readme = "README.md"
license = "MIT OR Apache-2.0"
description = "Date and time library. Fully interoperable with the standard library. Mostly compatible with #![no_std]."
[package.metadata.docs.rs]
all-features = true
[features]
default = ["deprecated", "std"]
deprecated = []
panicking-api = []
std = ["libc", "winapi"]
__doc = []
[dependencies]
rand = { version = "0.7", optional = true, default-features = false }
rustversion = "1"
serde = { version = "1", optional = true, default-features = false, features = ["derive"] }
time-macros = { version = "0.1", path = "time-macros" }
[workspace]
members = ["time-macros", "time-macros-impl"]
[target.'cfg(unix)'.dependencies]
libc = { version = "0.2", optional = true }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["minwinbase", "minwindef", "timezoneapi"], optional = true }