14 releases

1.0.0-beta.14 Mar 27, 2024
1.0.0-beta.13 Feb 29, 2024
1.0.0-beta.8 Jan 4, 2024
1.0.0-beta.6 Oct 10, 2023
1.0.0-beta.1 Feb 14, 2023

#595 in Rust patterns

Download history 5/week @ 2024-09-23

717 downloads per month

MIT/Apache

22KB
399 lines

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.

Dependencies

~8MB
~142K SLoC