#apollo #client #ctrip

apollo-client

Ctrip Apollo client for Rust🦀

16 releases

0.8.1 May 23, 2025
0.8.0 Jun 23, 2024
0.7.5 Jun 10, 2023
0.7.3 Aug 11, 2022
0.1.0 Dec 27, 2019

#1311 in Web programming

Download history 89/week @ 2025-10-22 13/week @ 2025-11-19 22/week @ 2025-11-26 8/week @ 2025-12-03 71/week @ 2025-12-17 46/week @ 2025-12-24 22/week @ 2025-12-31 28/week @ 2026-01-07 59/week @ 2026-01-14 43/week @ 2026-01-21 122/week @ 2026-01-28 117/week @ 2026-02-04

344 downloads per month
Used in 2 crates

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–25MB
~322K SLoC