vult

Crates.iovult
lib.rsvult
version0.1.0
sourcesrc
created_at2024-11-25 19:35:33.535879
updated_at2024-11-25 19:35:33.535879
descriptionCore library for Vult Finance integrations
homepage
repositoryhttps://github.com/vult-ai/vult-rs
max_upload_size
id1460657
size11,106
(vult-bot)

documentation

README

Vult

Crates.io Documentation License: MIT

Core library for integrating with Vult's services platform.

Installation

Add this to your Cargo.toml:

[dependencies]
vult = "0.1.0"

Features

  • Configurable environment support (Production/Sandbox)
  • Built-in request tracking and ID generation
  • Timeout configuration
  • Error handling with custom error types
  • Optional async support

To enable async features:

[dependencies]
vult = { version = "0.1.0", features = ["async"] }

Quick Start

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(())
}

Documentation

For detailed documentation, please visit docs.rs/vult.

Development Status

This library is currently in early development. The API may undergo changes as we add more features and functionality.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Security

If you discover a security vulnerability within Vult, please send an email to security@vult.ai.

Support

For support inquiries, please contact support@vult.ai or visit our documentation.

Commit count: 1

cargo fmt