| Crates.io | noah-protocol |
| lib.rs | noah-protocol |
| version | 0.1.1 |
| created_at | 2025-12-06 11:09:51.531319+00 |
| updated_at | 2025-12-07 14:23:29.120688+00 |
| description | Protocol definitions and gRPC services for NoahDB |
| homepage | |
| repository | https://github.com/fabianbele2605/NoahDB |
| max_upload_size | |
| id | 1969992 |
| size | 34,181 |
Protocol definitions and gRPC services for NoahDB - Ultra-fast in-memory database.
[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