Crate fiberplane_pdk

source ·
Expand description

§Fiberplane Provider Development Kit

This crate provides high-level macros and abstractions for more ergonomic provider development.

Follow the tutorial: How to create a provider

§Overview

The main traits and macros you will interact with from this crate are:

  • pdk_query_types! - Macro for defining your query types and their handlers.
  • pdk_export! - Macro to export functions as part of the provider protocol.
  • ConfigSchema - Macro for deriving a schema from your config struct.
  • QuerySchema - Macro for deriving a schema from your query struct(s).
  • ProviderData - A trait and derive macro for types that you wish to pass around as provider data using Blobs.

Re-exports§

Modules§

  • This module provides a helper function that sets up the panic handler so that unrecoverable errors from the provider show better messages.

Functions§

Attribute Macros§

  • Exports an implementation of a specific provider function