pleme-providers 0.1.2

Multi-provider integration library for Pleme platform - generic trait abstraction and registry
Documentation

pleme-providers

Multi-provider integration library for Pleme platform - generic trait abstraction and registry

Installation

[dependencies]
pleme-providers = "0.1"

Usage

use pleme_providers::{Provider, ProviderRegistry};

#[async_trait]
impl Provider for MyProvider {
    async fn execute(&self, input: &Input) -> Result<Output> {
        // Provider implementation
    }
}

let registry = ProviderRegistry::new();
registry.register("my-provider", MyProvider::new());

Feature Flags

Feature Description
reqwest HTTP client error conversion (default)

Enable features in your Cargo.toml:

pleme-providers = { version = "0.1", features = ["full"] }

Development

This project uses Nix for reproducible builds:

nix develop            # Dev shell with Rust toolchain
nix run .#check-all    # cargo fmt + clippy + test
nix run .#publish      # Publish to crates.io (--dry-run supported)
nix run .#regenerate   # Regenerate Cargo.nix

License

MIT - see LICENSE for details.