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 usingBlob
s.