84 lines
1.7 KiB
TOML
84 lines
1.7 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.70"
|
|
name = "jiff-core"
|
|
version = "0.1.0"
|
|
authors = ["Andrew Gallant <jamslam@gmail.com>"]
|
|
build = false
|
|
include = [
|
|
"/src/**/*.rs",
|
|
"COPYING",
|
|
"LICENSE-MIT",
|
|
"UNLICENSE",
|
|
]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Low level datetime primitives for the Jiff library."
|
|
homepage = "https://github.com/BurntSushi/jiff/tree/master/crates/jiff-core"
|
|
documentation = "https://docs.rs/jiff-core"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"date",
|
|
"time",
|
|
"civil",
|
|
"timestamp",
|
|
]
|
|
categories = ["date-and-time"]
|
|
license = "Unlicense OR MIT"
|
|
repository = "https://github.com/BurntSushi/jiff"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs_jiff",
|
|
]
|
|
|
|
[features]
|
|
alloc = ["defmt?/alloc"]
|
|
default = [
|
|
"std",
|
|
"tz-fat",
|
|
]
|
|
defmt = ["dep:defmt"]
|
|
logging = ["dep:log"]
|
|
std = ["alloc"]
|
|
tz-fat = []
|
|
|
|
[lib]
|
|
name = "jiff_core"
|
|
path = "src/lib.rs"
|
|
bench = false
|
|
|
|
[dependencies.defmt]
|
|
version = "1.0.0"
|
|
optional = true
|
|
|
|
[dependencies.log]
|
|
version = "0.4.21"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dev-dependencies.quickcheck]
|
|
version = "1.0.0"
|
|
default-features = false
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "allow"
|
|
priority = 0
|
|
check-cfg = ["cfg(docsrs_jiff)"]
|