apollo-client

Crates.ioapollo-client
lib.rsapollo-client
version0.8.0
sourcesrc
created_at2019-12-27 14:45:33.518629
updated_at2024-06-23 12:07:25.987994
descriptionCtrip Apollo client for Rust🦀.
homepage
repositoryhttps://github.com/jmjoy/apollo-client
max_upload_size
id192658
size150,202
jmjoy (jmjoy)

documentation

https://docs.rs/apollo-client

README

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.

Commit count: 117

cargo fmt