cloudr

Crates.iocloudr
lib.rscloudr
version1.3.0
sourcesrc
created_at2023-07-17 03:44:07.147139
updated_at2023-07-17 17:09:41.047079
descriptionA library that offers an abstract data structure for storing and managing values without moving them. It provides efficient key-value insertion, retrieval, and removal operations, allowing you to conveniently handle your data. With its simplicity and ease of use, Cloudr is designed to simplify data storage in your Rust projects. Explore the capabilities of Cloudr and streamline your data management tasks.
homepagehttps://github.com/bluefish43/cloudr
repositoryhttps://github.com/bluefish43/cloudr
max_upload_size
id918109
size44,062
bluefish (bluefish43)

documentation

README

Cloudr 🌤️

Cloudr is a Rust library that provides an abstract data structure for storing values without moving them. It offers a flexible and convenient way to store and access data in a cloud-like structure.

Features ✨

  • Store values without moving them 📦
  • Insert, retrieve, and remove values based on keys 🔑
  • Check for the existence of keys or values ✅
  • Iterate over key-value pairs 🔄
  • Combine multiple instances of the data cloud 🌐
  • Convert into an owned FxHashMap 🔄
  • Iteration and mapping utilities 🚀

Installation 🚀

Add the following line to your Cargo.toml file:

[dependencies]
cloudr = "0.1.0"

Usage 🛠️

Here's a simple example demonstrating the basic usage of the DataCloud:

use cloudr::DataCloud;

fn main() {
    let data: DataCloud<String, i32> = DataCloud::new();
    
    data.insert("x".to_string(), &42);
    data.insert("y".to_string(), &123);
    
    if let Some(value) = data.get(&"x".to_string()) {
        println!("Value of x: {}", value);
    }
    
    data.remove(&"y".to_string());
    
    println!("Data cloud: {}", data);
}

For more detailed examples and documentation, please refer to the API documentation. 📚

Contributing 🤝

Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request. ❤️

License 📝

This project is licensed under the MIT license. 📜

Commit count: 11

cargo fmt