metabase_api_rs/
lib.rs

1//! # metabase-api-rs
2//!
3//! A simplified and efficient Rust client for the Metabase API.
4//!
5//! This library provides a clean interface to interact with Metabase's REST API,
6//! with automatic authentication, retry logic, and optional caching.
7
8pub mod api;
9pub mod core;
10pub mod repository;
11pub mod service;
12pub mod transport;
13
14#[cfg(feature = "cache")]
15pub mod cache;
16
17// Re-export main types for convenience
18pub use api::builder::ClientBuilder;
19pub use api::client::MetabaseClient;
20pub use core::error::{Error, Result};
21// Re-export models
22pub use core::models;
23
24// Version information
25pub const VERSION: &str = env!("CARGO_PKG_VERSION");