ucal-core 0.2.0

Universe Calendar core: absolute time in Planck ticks, base-5 tier grid, profile UC-1
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.85"
name = "ucal-core"
version = "0.2.0"
authors = ["Vladimir Ulogov"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Universe Calendar core: absolute time in Planck ticks, base-5 tier grid, profile UC-1"
readme = "README.md"
keywords = [
    "time",
    "calendar",
    "no-std",
    "exact-arithmetic",
    "planck",
]
categories = [
    "date-and-time",
    "no-std",
    "science",
]
license = "MPL-2.0"
repository = "https://github.com/vulogov/ucal"

[features]
alloc = []
bigint = [
    "dep:num-bigint",
    "dep:num-integer",
    "dep:num-traits",
    "alloc",
]
default = [
    "u512",
    "std",
]
std = ["alloc"]
u512 = ["dep:bnum"]

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

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

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

[dependencies.bnum]
version = "0.14"
features = ["alloc"]
optional = true
default-features = false

[dependencies.num-bigint]
version = "0.4"
optional = true
default-features = false

[dependencies.num-integer]
version = "0.1"
optional = true
default-features = false

[dependencies.num-traits]
version = "0.2"
optional = true
default-features = false

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

[lints.clippy]
undocumented_unsafe_blocks = "deny"

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"