[package]
edition = "2024"
rust-version = "1.100"
name = "flexpool-plan"
version = "0.4.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "flexpool day-ahead planning: price scenarios from forecast quantiles, a storage LP with a CVaR term, water values from the duals, limit orders and their paper execution. No I/O."
homepage = "https://hupe1980.github.io/flexpool/"
documentation = "https://docs.rs/flexpool-plan"
readme = false
keywords = [
"energy",
"optimization",
"battery",
"day-ahead",
"cvar",
]
categories = [
"science",
"mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hupe1980/flexpool"
[lib]
name = "flexpool_plan"
path = "src/lib.rs"
[[test]]
name = "it"
path = "tests/it/main.rs"
[dependencies.clarabel]
version = "0.11.1"
[dependencies.flexpool-core]
version = "0.4.0"
[dependencies.flexpool-forecast]
version = "0.4.0"
[dependencies.flexpool-rules]
version = "0.4.0"
[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.flexpool-sim]
version = "0.4.0"
[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"