[package]
edition = "2021"
name = "tempoch"
version = "0.11.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",
"no-std",
]
categories = [
"science",
"date-and-time",
"no-std",
]
license = "AGPL-3.0-only"
repository = "https://github.com/Siderust/tempoch"
[features]
alloc = ["tempoch-core/alloc"]
default = ["std"]
runtime-data-fetch = [
"std",
"tempoch-core/runtime-data-fetch",
]
serde = ["tempoch-core/serde"]
std = [
"alloc",
"tempoch-core/std",
]
[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"
required-features = ["runtime-data-fetch"]
[[example]]
name = "07_conversions"
path = "examples/07_conversions.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "nominal_civil_utc"
path = "tests/nominal_civil_utc.rs"
[[test]]
name = "scales_w3"
path = "tests/scales_w3.rs"
[dependencies.tempoch-core]
version = "0.11.2"
default-features = false
[dev-dependencies.chrono]
version = "0.4.44"
features = [
"clock",
"std",
]
default-features = false
[dev-dependencies.serde_json]
version = "1"