Crates.io | vult |
lib.rs | vult |
version | 0.1.0 |
source | src |
created_at | 2024-11-25 19:35:33.535879 |
updated_at | 2024-11-25 19:35:33.535879 |
description | Core library for Vult Finance integrations |
homepage | |
repository | https://github.com/vult-ai/vult-rs |
max_upload_size | |
id | 1460657 |
size | 11,106 |
Core library for integrating with Vult's services platform.
Add this to your Cargo.toml
:
[dependencies]
vult = "0.1.0"
To enable async features:
[dependencies]
vult = { version = "0.1.0", features = ["async"] }
use vult::{VultClient, VultConfig, Environment};
fn main() -> Result<(), Box<dyn std::error::Error>> {
// Create a configuration
let config = VultConfig::new(
"your-api-key".to_string(),
Environment::Sandbox,
5000, // timeout in milliseconds
);
// Initialize the client
let client = VultClient::new(config)?;
// Generate a request ID
let request_id = client.generate_request_id();
println!("Generated request ID: {}", request_id);
Ok(())
}
For detailed documentation, please visit docs.rs/vult.
This library is currently in early development. The API may undergo changes as we add more features and functionality.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
If you discover a security vulnerability within Vult, please send an email to security@vult.ai.
For support inquiries, please contact support@vult.ai or visit our documentation.