paft-utils

Crates.iopaft-utils
lib.rspaft-utils
version0.7.1
created_at2025-10-02 11:39:21.353978+00
updated_at2025-10-31 17:55:59.537781+00
descriptionUtility helpers shared across the paft workspace.
homepage
repositoryhttps://github.com/paft-rs/paft
max_upload_size
id1864273
size58,748
G. Ramistella (gramistella)

documentation

README

paft-utils

Shared utilities for the paft workspace: canonical string helpers and optional DataFrame traits.

Crates.io Docs.rs

  • Canonical string utilities: Canonical, canonicalize, StringCode
  • Optional Polars helpers: ToDataFrame, ToDataFrameVec

Install

Prefer the facade crate for most applications:

[dependencies]
paft = "0.7.1"

Advanced (direct dependency):

[dependencies]
paft-utils = { version = "0.7.1", default-features = false }

With DataFrame helpers:

[dependencies]
paft-utils = { version = "0.7.1", default-features = false, features = ["dataframe"] }

Features

  • dataframe: enable polars integration for fast columnar conversions

Quickstart

use paft_utils::{canonicalize, Canonical};

assert_eq!(canonicalize("Euronext Paris"), "EURONEXT_PARIS");

let c = Canonical::try_new("nasdaq").unwrap();
assert_eq!(c.as_str(), "NASDAQ");

Links

Commit count: 38

cargo fmt