paft 0.9.0

Facade crate for paft: unified public API over the paft ecosystem.
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"
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 = "Facade crate for paft: unified public API over the paft ecosystem."
homepage = "https://github.com/paft-rs/paft"
documentation = "https://docs.rs/paft"
readme = "README.md"
keywords = [
    "finance",
    "types",
    "stocks",
    "trading",
    "polars",
]
categories = [
    "finance",
    "data-structures",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/paft-rs/paft"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
aggregates = [
    "dep:paft-aggregates",
    "domain",
]
bigdecimal = [
    "paft-money/bigdecimal",
    "paft-utils/bigdecimal",
    "paft-market?/bigdecimal",
    "paft-fundamentals?/bigdecimal",
    "paft-aggregates?/bigdecimal",
    "paft-prediction?/bigdecimal",
]
dataframe = [
    "paft-utils/dataframe",
    "paft-money/dataframe",
    "paft-domain?/dataframe",
    "paft-market?/dataframe",
    "paft-fundamentals?/dataframe",
    "paft-aggregates?/dataframe",
    "paft-prediction?/dataframe",
]
default = [
    "domain",
    "market",
    "fundamentals",
]
domain = ["dep:paft-domain"]
full = [
    "domain",
    "market",
    "fundamentals",
    "aggregates",
    "prediction",
    "dataframe",
]
fundamentals = [
    "dep:paft-fundamentals",
    "domain",
]
market = [
    "dep:paft-market",
    "domain",
]
money-formatting = ["paft-money/money-formatting"]
panicking-money-ops = ["paft-money/panicking-money-ops"]
prediction = ["dep:paft-prediction"]
tracing = [
    "dep:tracing",
    "paft-domain?/tracing",
    "paft-money/tracing",
    "paft-market?/tracing",
    "paft-fundamentals?/tracing",
]

[lib]
name = "paft"
path = "src/lib.rs"

[[example]]
name = "extensible_enums"
path = "examples/extensible_enums.rs"
required-features = ["full"]

[[example]]
name = "metadata_dataframe"
path = "examples/metadata_dataframe.rs"
required-features = ["full"]

[[example]]
name = "nested_metadata_propagation"
path = "examples/nested_metadata_propagation.rs"
required-features = ["full"]

[[example]]
name = "provider_metadata"
path = "examples/provider_metadata.rs"
required-features = ["full"]

[[example]]
name = "v09_ergonomics"
path = "examples/v09_ergonomics.rs"
required-features = [
    "market",
    "fundamentals",
]

[[test]]
name = "dataframe_facade"
path = "tests/dataframe_facade.rs"

[[test]]
name = "encapsulation"
path = "tests/encapsulation.rs"

[[test]]
name = "facade_exports"
path = "tests/facade_exports.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "money_facade"
path = "tests/money_facade.rs"

[dependencies.iso_currency]
version = "0.5"

[dependencies.paft-aggregates]
version = "0.9.0"
optional = true
default-features = false

[dependencies.paft-core]
version = "0.9.0"
default-features = false

[dependencies.paft-decimal]
version = "0.9.0"
default-features = false

[dependencies.paft-domain]
version = "0.9.0"
optional = true
default-features = false

[dependencies.paft-fundamentals]
version = "0.9.0"
optional = true
default-features = false

[dependencies.paft-market]
version = "0.9.0"
optional = true
default-features = false

[dependencies.paft-money]
version = "0.9.0"
default-features = false

[dependencies.paft-prediction]
version = "0.9.0"
optional = true
default-features = false

[dependencies.paft-utils]
version = "0.9.0"
default-features = false

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"
features = ["attributes"]
optional = true

[dev-dependencies.chrono]
version = "0.4"
features = ["serde"]

[dev-dependencies.chrono-tz]
version = "0.10"
features = ["serde"]

[dev-dependencies.df-derive-macros]
version = "0.3.1"

[dev-dependencies.polars]
version = "0.53"
features = [
    "dtype-datetime",
    "dtype-decimal",
]
default-features = false

[dev-dependencies.polars-arrow]
version = "0.53"
default-features = false

[dev-dependencies.rust_decimal]
version = "1.42"
features = ["serde"]

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.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