Crate apollo_client
source · [−]Expand description
Apollo Client
Rust🦀 client for Ctrip Apollo.
Power by Rust async/await.
Installation
With cargo edit installed run:
$ cargo add -s --features full tokio
$ cargo add -s --features full apollo-clientSupport
- Fetch config via config service.
- Fetch config via mata service.
- Authorization for configuration api.
- 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.