148 lines
2.9 KiB
TOML
148 lines
2.9 KiB
TOML
# 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"
|
|
rust-version = "1.57.0"
|
|
name = "time"
|
|
version = "0.3.11"
|
|
authors = [
|
|
"Jacob Pratt <open-source@jhpratt.dev>",
|
|
"Time contributors",
|
|
]
|
|
include = [
|
|
"src/**/*",
|
|
"LICENSE-*",
|
|
"README.md",
|
|
"!src/tests.rs",
|
|
]
|
|
description = "Date and time library. Fully interoperable with the standard library. Mostly compatible with #![no_std]."
|
|
homepage = "https://time-rs.github.io"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"date",
|
|
"time",
|
|
"calendar",
|
|
"duration",
|
|
]
|
|
categories = [
|
|
"date-and-time",
|
|
"no-std",
|
|
"parser-implementations",
|
|
"value-formatting",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/time-rs/time"
|
|
resolver = "2"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"__time_03_docs",
|
|
]
|
|
|
|
[profile.dev]
|
|
debug = 0
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[[bench]]
|
|
name = "benchmarks"
|
|
path = "benchmarks/main.rs"
|
|
harness = false
|
|
|
|
[dependencies.itoa]
|
|
version = "1.0.1"
|
|
optional = true
|
|
|
|
[dependencies.quickcheck-dep]
|
|
version = "1.0.3"
|
|
optional = true
|
|
default-features = false
|
|
package = "quickcheck"
|
|
|
|
[dependencies.rand]
|
|
version = "0.8.4"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.126"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.time-macros]
|
|
version = "=0.2.4"
|
|
optional = true
|
|
|
|
[dev-dependencies.quickcheck_macros]
|
|
version = "1.0.0"
|
|
|
|
[dev-dependencies.rand]
|
|
version = "0.8.4"
|
|
default-features = false
|
|
|
|
[dev-dependencies.serde]
|
|
version = "1.0.126"
|
|
features = ["derive"]
|
|
default-features = false
|
|
|
|
[dev-dependencies.serde_json]
|
|
version = "1.0.68"
|
|
|
|
[dev-dependencies.serde_test]
|
|
version = "1.0.126"
|
|
|
|
[features]
|
|
alloc = []
|
|
default = ["std"]
|
|
formatting = [
|
|
"itoa",
|
|
"std",
|
|
]
|
|
large-dates = ["time-macros/large-dates"]
|
|
local-offset = ["std"]
|
|
macros = ["time-macros"]
|
|
parsing = []
|
|
quickcheck = [
|
|
"quickcheck-dep",
|
|
"alloc",
|
|
]
|
|
serde-human-readable = [
|
|
"serde",
|
|
"formatting",
|
|
"parsing",
|
|
]
|
|
serde-well-known = [
|
|
"serde/alloc",
|
|
"formatting",
|
|
"parsing",
|
|
]
|
|
std = ["alloc"]
|
|
|
|
[target."cfg(__ui_tests)".dev-dependencies.trybuild]
|
|
version = "1.0.63"
|
|
|
|
[target."cfg(bench)".dev-dependencies.criterion]
|
|
version = "0.3.5"
|
|
|
|
[target."cfg(bench)".dev-dependencies.criterion-cycles-per-byte]
|
|
version = "0.1.2"
|
|
|
|
[target."cfg(target_family = \"unix\")".dependencies.libc]
|
|
version = "0.2.98"
|
|
|
|
[target."cfg(target_family = \"unix\")".dependencies.num_threads]
|
|
version = "0.1.2"
|