Skip to main content

langfuse_core/
lib.rs

1//! Core types, configuration, and API client for the Langfuse SDK.
2//!
3//! This crate provides the foundational building blocks used by the higher-level
4//! `langfuse-sdk` crate: configuration management, error types, domain types
5//! (prompts, scores, observations, media), and an auto-generated REST API client
6//! derived from Langfuse's OpenAPI specification.
7
8#![warn(missing_docs)]
9
10#[allow(
11    missing_docs,
12    unused_imports,
13    mismatched_lifetime_syntaxes,
14    irrefutable_let_patterns,
15    clippy::all
16)]
17pub mod api;
18pub mod config;
19pub mod error;
20pub mod types;
21
22pub use config::LangfuseConfig;
23pub use error::{LangfuseError, Result};