[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.chrono-tz]
features = ["serde"]
version = "0.10"
[dependencies.df-derive]
optional = true
version = "0.1.0"
[dependencies.polars]
features = ["lazy", "strings", "temporal", "serde", "regex", "timezones", "diagonal_concat", "json", "rolling_window", "dtype-decimal"]
optional = true
version = "0.51"
[dependencies.regex]
version = "1.0"
[dependencies.rust_decimal]
features = ["serde"]
version = "1.36"
[dependencies.serde]
features = ["derive", "derive"]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.serde_json]
version = "1.0"
[features]
dataframe = ["polars", "df-derive"]
default = []
panicking-money-ops = []
[lib]
name = "paft_core"
path = "src/lib.rs"
[package]
authors = ["G. Ramistella <heydays_micron_7m@icloud.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["data-structures", "finance"]
description = "Core domain types, errors, and shared utilities for paft."
documentation = "https://docs.rs/paft-core"
edition = "2024"
homepage = "https://github.com/paft-rs/paft"
keywords = ["finance", "market-data", "dataframe", "serde", "polars"]
license = "MIT"
name = "paft-core"
readme = "README.md"
repository = "https://github.com/paft-rs/paft"
resolver = "2"
version = "0.2.0"
[[test]]
name = "currency"
path = "tests/currency.rs"
[[test]]
name = "currency_utils"
path = "tests/currency_utils.rs"
[[test]]
name = "dataframe"
path = "tests/dataframe.rs"
[[test]]
name = "enum_roundtrip"
path = "tests/enum_roundtrip.rs"
[[test]]
name = "exchange"
path = "tests/exchange.rs"
[[test]]
name = "instrument"
path = "tests/instrument.rs"
[[test]]
name = "money"
path = "tests/money.rs"
[[test]]
name = "types"
path = "tests/types.rs"