apollo-client icon indicating copy to clipboard operation
apollo-client copied to clipboard

Ctrip Apollo client for Rust🦀.

Apollo Client

Actions Crate API Lines License

Ctrip Apollo client for Rust🦀.

Power by Rust async/await.

Installation

With cargo edit installed run:

$ 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.

License

Unlicense.