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