paft-utils 0.9.0

Utility helpers shared across the paft workspace.
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 = "2024"
rust-version = "1.90"
name = "paft-utils"
version = "0.9.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",
    "paft-decimal?/bigdecimal",
]
dataframe = [
    "dep:df-derive-core",
    "dep:polars",
    "dep:rust_decimal",
    "dep:paft-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.paft-decimal]
version = "0.9.0"
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