polars-structpath-derive 0.3.0

Derive macros for polars-structpath
docs.rs failed to build polars-structpath-derive-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: polars-structpath-derive-0.5.0

polars-structpath-derive

This crate provides procedural derive macros for the polars-structpath ecosystem. It automatically generates Arrow buffer implementations for Rust structs and enums, enabling seamless conversion to and from Apache Arrow arrays for Polars integration.

Purpose

polars-structpath-derive is a procedural macro crate that generates code for:

  • StructPath derive macro: Automatically generates Arrow buffer implementations for structs using impl_struct_buffer! from polars-structpath-types
  • EnumPath derive macro: Automatically generates Arrow buffer implementations for enums using impl_enum_buffer! from polars-structpath-types

This crate is used by:

  • polars-structpath: The main user-facing library that re-exports these derive macros
  • End users: Who apply #[derive(StructPath)] or #[derive(EnumPath)] to their structs and enums

Usage

For usage examples, see polars-structpath.

See Also