[package]
edition = "2024"
rust-version = "1.90"
name = "paft-utils"
version = "0.8.0"
authors = ["G. Ramistella <heydays_micron_7m@icloud.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Utility helpers shared across the paft workspace."
readme = "README.md"
keywords = [
"finance",
"data",
"utils",
"serde",
]
categories = [
"finance",
"data-structures",
]
license = "MIT"
repository = "https://github.com/paft-rs/paft"
resolver = "2"
[features]
bigdecimal = ["dep:bigdecimal"]
dataframe = [
"dep:df-derive-core",
"dep:polars",
"dep:rust_decimal",
"polars/fmt",
]
default = []
[lib]
name = "paft_utils"
path = "src/lib.rs"
[[test]]
name = "decimal128"
path = "tests/decimal128.rs"
[[test]]
name = "string_canonical"
path = "tests/string_canonical.rs"
[dependencies.bigdecimal]
version = "0.4"
features = ["serde"]
optional = true
[dependencies.df-derive-core]
version = "0.3.1"
optional = true
default-features = false
[dependencies.polars]
version = "0.53"
features = ["dtype-decimal"]
optional = true
default-features = false
[dependencies.rust_decimal]
version = "1.42"
features = ["serde"]
optional = true
[dependencies.smol_str]
version = "0.3"
[dependencies.thiserror]
version = "2.0"
[lints.clippy]
multiple_crate_versions = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1