Crates.io | fiberplane-pdk |
lib.rs | fiberplane-pdk |
version | 1.0.0-beta.14 |
source | src |
created_at | 2023-02-13 13:41:12.332472 |
updated_at | 2024-03-27 09:26:36.182039 |
description | Fiberplane Provider Development Kit |
homepage | |
repository | https://github.com/fiberplane/providers |
max_upload_size | |
id | 783956 |
size | 19,587 |
This crate provides high-level macros and abstractions for more ergonomic provider development.
Follow the tutorial: How to create a provider
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
Blob
s.