| Crates.io | paft-utils |
| lib.rs | paft-utils |
| version | 0.7.1 |
| created_at | 2025-10-02 11:39:21.353978+00 |
| updated_at | 2025-10-31 17:55:59.537781+00 |
| description | Utility helpers shared across the paft workspace. |
| homepage | |
| repository | https://github.com/paft-rs/paft |
| max_upload_size | |
| id | 1864273 |
| size | 58,748 |
Shared utilities for the paft workspace: canonical string helpers and optional DataFrame traits.
Canonical, canonicalize, StringCodeToDataFrame, ToDataFrameVecPrefer 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"] }
dataframe: enable polars integration for fast columnar conversionsuse paft_utils::{canonicalize, Canonical};
assert_eq!(canonicalize("Euronext Paris"), "EURONEXT_PARIS");
let c = Canonical::try_new("nasdaq").unwrap();
assert_eq!(c.as_str(), "NASDAQ");