noah-protocol

Crates.ionoah-protocol
lib.rsnoah-protocol
version0.1.1
created_at2025-12-06 11:09:51.531319+00
updated_at2025-12-07 14:23:29.120688+00
descriptionProtocol definitions and gRPC services for NoahDB
homepage
repositoryhttps://github.com/fabianbele2605/NoahDB
max_upload_size
id1969992
size34,181
Fabian Enrique Beleño Robles (fabianbele2605)

documentation

README

noah-protocol

Crates.io Documentation

Protocol definitions and gRPC services for NoahDB - Ultra-fast in-memory database.

Features

  • 🚀 gRPC service definitions
  • 📦 Protocol Buffers schemas
  • 🔧 Shared types and errors
  • ⚡ High-performance serialization

Installation

[dependencies]
noah-protocol = "0.1"

use noah_protocol::grpc::noah_service_client::NoahServiceClient;
use noah_protocol::grpc::SetRequest;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let mut client = NoahServiceClient::connect("http://127.0.0.1:50051").await?;
    
    let request = tonic::Request::new(SetRequest {
        key: "my_key".to_string(),
        value: "my_value".to_string(),
    });
    
    let response = client.set(request).await?;
    println!("Success: {}", response.into_inner().success);
    
    Ok(())
}


## Related Projects
NoahDB - Database server

NoahDB-Dashboard - Real-time dashboard

## License

MIT
Commit count: 0

cargo fmt