Skip to content

jmjoy/apollo-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.