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 usingBlob
s.
Re-exports§
pub use fiberplane_pdk_macros as macros;
pub use fiberplane_provider_bindings as bindings;
pub use serde_json;
Modules§
- This module provides a helper function that sets up the panic handler so that unrecoverable errors from the provider show better messages.
Functions§
- Parses a query data blob to a Serde struct.
Attribute Macros§
- Exports an implementation of a specific provider function