Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmjoy/apollo-client
Ctrip Apollo client for Rust🦀.
https://github.com/jmjoy/apollo-client
apollo client
Last synced: 6 days ago
JSON representation
Ctrip Apollo client for Rust🦀.
- Host: GitHub
- URL: https://github.com/jmjoy/apollo-client
- Owner: jmjoy
- License: unlicense
- Created: 2019-12-23T10:41:16.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-23T12:06:55.000Z (6 months ago)
- Last Synced: 2024-12-24T19:42:46.956Z (7 days ago)
- Topics: apollo, client
- Language: Rust
- Homepage:
- Size: 193 KB
- Stars: 19
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Apollo Client
[![Actions](https://github.com/jmjoy/apollo-client/workflows/Rust/badge.svg?branch=master&event=push)](https://github.com/jmjoy/apollo-client/actions?query=workflow%3ARust+branch%3Amaster+event%3Apush++)
[![Crate](https://img.shields.io/crates/v/apollo-client.svg)](https://crates.io/crates/apollo-client)
[![API](https://docs.rs/apollo-client/badge.svg)](https://docs.rs/apollo-client)
[![Lines](https://img.shields.io/tokei/lines/github/jmjoy/apollo-client)](https://github.com/jmjoy/apollo-client)
[![License](https://img.shields.io/crates/l/apollo-client)](https://github.com/jmjoy/apollo-client/blob/master/LICENSE)[Ctrip Apollo](https://github.com/ctripcorp/apollo) client for Rust🦀.
Power by Rust `async/await`.
## Installation
With [cargo edit](https://github.com/killercup/cargo-edit) installed run:
```sh
$ cargo add -s --features full tokio
$ cargo add -s --features full apollo-client
```## Support
- [x] Fetch config via config service.
- [ ] Fetch config via mata service.
- [x] Authorization for configuration api.
- [x] Apollo open apis.## Features
- **host**: IpValue HostName, HostIp and HostCidr options, enable by default.
- **conf**: Apollo configuration apis, enable by default.
- **open**: Apollo open platform apis.
- **full**: All features.## Usage
You can find more examples in [the example directory](https://github.com/jmjoy/apollo-client/tree/master/examples).
## License
[Unlicense](https://github.com/jmjoy/apollo-client/blob/master/LICENSE).