| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.70" |
| 15 |
name = "jiff-core" |
| 16 |
version = "0.1.0" |
| 17 |
authors = ["Andrew Gallant <[email protected]>"] |
| 18 |
build = false |
| 19 |
include = [ |
| 20 |
"/src/**/*.rs", |
| 21 |
"COPYING", |
| 22 |
"LICENSE-MIT", |
| 23 |
"UNLICENSE", |
| 24 |
] |
| 25 |
autolib = false |
| 26 |
autobins = false |
| 27 |
autoexamples = false |
| 28 |
autotests = false |
| 29 |
autobenches = false |
| 30 |
description = "Low level datetime primitives for the Jiff library." |
| 31 |
homepage = "https://github.com/BurntSushi/jiff/tree/master/crates/jiff-core" |
| 32 |
documentation = "https://docs.rs/jiff-core" |
| 33 |
readme = "README.md" |
| 34 |
keywords = [ |
| 35 |
"date", |
| 36 |
"time", |
| 37 |
"civil", |
| 38 |
"timestamp", |
| 39 |
] |
| 40 |
categories = ["date-and-time"] |
| 41 |
license = "Unlicense OR MIT" |
| 42 |
repository = "https://github.com/BurntSushi/jiff" |
| 43 |
|
| 44 |
[package.metadata.docs.rs] |
| 45 |
all-features = true |
| 46 |
rustdoc-args = [ |
| 47 |
"--cfg", |
| 48 |
"docsrs_jiff", |
| 49 |
] |
| 50 |
|
| 51 |
[features] |
| 52 |
alloc = ["defmt?/alloc"] |
| 53 |
default = [ |
| 54 |
"std", |
| 55 |
"tz-fat", |
| 56 |
] |
| 57 |
defmt = ["dep:defmt"] |
| 58 |
logging = ["dep:log"] |
| 59 |
std = ["alloc"] |
| 60 |
tz-fat = [] |
| 61 |
|
| 62 |
[lib] |
| 63 |
name = "jiff_core" |
| 64 |
path = "src/lib.rs" |
| 65 |
bench = false |
| 66 |
|
| 67 |
[dependencies.defmt] |
| 68 |
version = "1.0.0" |
| 69 |
optional = true |
| 70 |
|
| 71 |
[dependencies.log] |
| 72 |
version = "0.4.21" |
| 73 |
optional = true |
| 74 |
default-features = false |
| 75 |
|
| 76 |
[dev-dependencies.quickcheck] |
| 77 |
version = "1.0.0" |
| 78 |
default-features = false |
| 79 |
|
| 80 |
[lints.rust.unexpected_cfgs] |
| 81 |
level = "allow" |
| 82 |
priority = 0 |
| 83 |
check-cfg = ["cfg(docsrs_jiff)"] |