confish 0.2.0

Official Rust SDK for confish — typed configuration, actions, and webhooks.
Documentation
//! Official Rust SDK for [confish](https://confi.sh).
//!
//! ## Quick start
//!
//! ```no_run
//! use confish::Client;
//! use serde::Deserialize;
//!
//! #[derive(Deserialize, Debug)]
//! struct MyConfig {
//!     site_name: String,
//!     max_upload_mb: u32,
//!     maintenance_mode: bool,
//! }
//!
//! # async fn run() -> confish::Result<()> {
//! let client = Client::builder("env_id", "confish_sk_...").build()?;
//! let config: MyConfig = client.config().fetch().await?;
//! println!("{config:?}");
//! # Ok(())
//! # }
//! ```

#![warn(missing_docs)]

mod actions;
mod client;
mod config;
mod error;
mod feeds;
mod http;
mod logs;
mod types;

pub mod webhook;

pub use actions::{ActionContext, Actions, ConsumeOptions, ErrorCallback};
pub use client::{Client, ClientBuilder, DEFAULT_BASE_URL};
pub use config::Config;
pub use error::{Error, Result};
pub use feeds::{Feed, FeedItemInput};
pub use logs::Logs;
pub use types::{Action, ActionStatus, ActionUpdate, FeedItem, FeedReplaceResult, LogLevel};