Crate apollo_client

source ·
Expand description

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

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

License

Unlicense.

Modules

  • confconf
    Apollo configuration apis.
  • Crate level errors.
  • Common api metadata.
  • openopen
    Apollo Open APIs apis.
  • Useful utilities.