date-differencer 0.1.5

Calculate the time interval between two `DateTime` instances and output the result in years plus months plus days plus hours plus minutes plus seconds plus nanoseconds (instead of representing the same duration in different units). This library is useful for lifespan check and age calculation.
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"
rust-version = "1.65"
name = "date-differencer"
version = "0.1.5"
authors = ["Magic Len <len@magiclen.org>"]
build = false
include = [
    "src/**/*",
    "Cargo.toml",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Calculate the time interval between two `DateTime` instances and output the result in years plus months plus days plus hours plus minutes plus seconds plus nanoseconds (instead of representing the same duration in different units). This library is useful for lifespan check and age calculation."
homepage = "https://magiclen.org/date-differencer"
readme = "README.md"
keywords = [
    "date",
    "time",
    "age",
    "diff",
    "datediff",
]
categories = [
    "no-std",
    "date-and-time",
]
license = "MIT"
repository = "https://github.com/magiclen/date-differencer"

[lib]
name = "date_differencer"
path = "src/lib.rs"

[dependencies.chrono]
version = "0.4"
default-features = false

[dependencies.year-helper]
version = "0.2"

[dev-dependencies.chrono]
version = "0.4"
features = ["clock"]
default-features = false

[dev-dependencies.rand]
version = "0.9"