# 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"
name = "tempoch"
version = "0.4.2"
authors = ["VPRamon <vallespuigramon@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Astronomical time primitives: typed time scales, Julian dates, UTC conversion, and interval operations."
readme = "README.md"
keywords = [
    "astronomy",
    "time",
    "julian-date",
    "ephemeris",
    "science",
]
categories = [
    "science",
    "date-and-time",
]
license = "AGPL-3.0-only"
repository = "https://github.com/Siderust/tempoch"

[features]
default = []
runtime-data-fetch = ["tempoch-core/runtime-data-fetch"]
serde = ["tempoch-core/serde"]

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

[[example]]
name = "01_quickstart"
path = "examples/01_quickstart.rs"

[[example]]
name = "02_scales"
path = "examples/02_scales.rs"

[[example]]
name = "03_formats"
path = "examples/03_formats.rs"

[[example]]
name = "04_periods"
path = "examples/04_periods.rs"

[[example]]
name = "05_serde"
path = "examples/05_serde.rs"
required-features = ["serde"]

[[example]]
name = "06_runtime_tables"
path = "examples/06_runtime_tables.rs"

[[example]]
name = "07_conversions"
path = "examples/07_conversions.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.tempoch-core]
version = "0.4.2"

[dev-dependencies.chrono]
version = "0.4.44"

[dev-dependencies.qtty]
version = "0.6.1"

[dev-dependencies.serde_json]
version = "1"
