Crates.io | cloudr |
lib.rs | cloudr |
version | 1.3.0 |
source | src |
created_at | 2023-07-17 03:44:07.147139 |
updated_at | 2023-07-17 17:09:41.047079 |
description | A 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. |
homepage | https://github.com/bluefish43/cloudr |
repository | https://github.com/bluefish43/cloudr |
max_upload_size | |
id | 918109 |
size | 44,062 |
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.
FxHashMap
🔄Add the following line to your Cargo.toml
file:
[dependencies]
cloudr = "0.1.0"
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. 📚
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request. ❤️
This project is licensed under the MIT license. 📜