polars_structpath_types

Crates.iopolars_structpath_types
lib.rspolars_structpath_types
version0.2.1
created_at2025-12-20 08:12:54.809352+00
updated_at2025-12-20 23:27:28.570857+00
descriptionCommon objects for polars_structpath and polars_structpath_derive
homepage
repositoryhttps://github.com/jmunar/polarspath
max_upload_size
id1996174
size192,248
(jmunar)

documentation

README

polars_structpath_types

This crate provides the core types and traits that form the foundation of the polars_structpath ecosystem. It contains the non-derive implementation components that enable dynamic path-based access to nested Rust structures with seamless integration to Polars DataFrames.

Purpose

polars_structpath_types is a foundational library that defines:

  • Core Types: Data structures for representing paths, data types, and type metadata
  • Core Traits: Interfaces for path-based data access (StructPath, EnumPath, HasDataTypeWrapper)
  • Type System: A wrapper around Polars DataType that supports additional metadata needed for path traversal
  • Conversion Utilities: Traits and implementations for converting Rust values to Polars AnyValue

This crate is used by:

  • polars_structpath: The main user-facing library that wraps this crate
  • polars_structpath_derive: The derive macro implementation that generates code using these types
  • polars_protobuf: Protocol Buffers integration that leverages these types

See Also

Commit count: 0

cargo fmt