[package]
edition = "2024"
rust-version = "1.100"
name = "flexpool-core"
version = "0.3.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "flexpool domain core: exact energy and money units, the Europe/Berlin quarter-hour calendar, portfolio identities and the single quantisation boundary. No I/O, no clock."
homepage = "https://hupe1980.github.io/flexpool/"
documentation = "https://docs.rs/flexpool-core"
readme = false
keywords = [
"energy",
"quarter-hour",
"decimal",
"calendar",
"electricity",
]
categories = [
"science",
"date-and-time",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hupe1980/flexpool"
[lib]
name = "flexpool_core"
path = "src/lib.rs"
[[test]]
name = "it"
path = "tests/it/main.rs"
[dependencies.metering]
version = "0.29"
default-features = false
[dependencies.rust_decimal]
version = "1.43"
features = [
"std",
"serde-with-str",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3.47"
features = [
"std",
"macros",
"formatting",
"parsing",
"serde",
]
[dev-dependencies.serde_json]
version = "1"
[lints.clippy]
allow_attributes_without_reason = "deny"
dbg_macro = "deny"
float_arithmetic = "allow"
todo = "deny"
unwrap_used = "warn"
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
unused_must_use = "deny"