Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shonenada/nacos-rs


https://github.com/shonenada/nacos-rs

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

nacos-rs
========

A Rust clinet for operating Nacos.

This project is heavy under development.

## Quick Guide

```rust
use nacos_core::NacosClient;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
let client = NacosClient::new("http", "localhost", 8848);
let namespace_client = client.namespace_client();
let namespaces = namespace_client.list_namespaces().await?;
for ns in namespaces.iter() {
println!("{} {}", ns.namespace, ns.namespace_show_name);
}
Ok(())
}
```