#apollo #client #ctrip

apollo-client

Ctrip Apollo client for Rust🦀

14 releases

0.7.5 Jun 10, 2023
0.7.3 Aug 11, 2022
0.7.2 Apr 25, 2022
0.7.1 Jan 25, 2022
0.1.0 Dec 27, 2019

#9 in #apollo

Download history 22/week @ 2023-07-30 23/week @ 2023-08-06 14/week @ 2023-08-13 23/week @ 2023-08-20 41/week @ 2023-08-27 28/week @ 2023-09-03 15/week @ 2023-09-10 23/week @ 2023-09-17 9/week @ 2023-09-24 13/week @ 2023-10-01 29/week @ 2023-10-08 27/week @ 2023-10-15 42/week @ 2023-10-22 44/week @ 2023-10-29 39/week @ 2023-11-05 19/week @ 2023-11-12

145 downloads per month
Used in apollo-puller

Unlicense

67KB
1.5K SLoC

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.

Dependencies

~5–20MB
~320K SLoC