langfuse-client-base
Auto-generated Rust client for the Langfuse API, based on the official OpenAPI specification.
⚠️ Note
This is a low-level, auto-generated client. For a more ergonomic API, use langfuse-ergonomic.
Features
- Complete API coverage from OpenAPI specification
- Async/await support with Tokio
- Choice of TLS backend (rustls or native-tls)
- Strong typing with serde
Installation
[]
= "0.1"
Usage
This crate provides low-level API bindings. Most users should use the ergonomic wrapper instead.
Basic Configuration
use Configuration;
use ingestion_api;
let config = Configuration ;
// Use the API...
Using Environment Variables
use env;
use Configuration;
let config = Configuration ;
Self-Hosted Instances
For self-hosted Langfuse instances:
let config = Configuration ;
Generation
This client is generated from the OpenAPI specification:
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
Contributing
This is auto-generated code. To make changes, please update the generation process or contribute to the main repository.