apollo-client 0.5.0

Rust🦀 client for Apollo.
docs.rs failed to build apollo-client-0.5.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: apollo-client-0.7.5

Apollo-client

Rustc Version Actions Crate API

Rust🦀 client for Apollo.

Power by Rust async/await.

Installation

With cargo add installed run:

$ cargo add -s apollo-client

Features

  1. Not all features are default, you can read the [features] section of Cargo.toml to know all the features.

  2. The xml and yaml features aren't enable by default, if you have such kind namespace, you should add features in Cargo.toml, just like:

    apollo-client = { version = "0.5", features = ["yaml", "xml"] }
    

    Or simply enable all features:

    apollo-client = { version = "0.5", features = ["full"] }
    
  3. By default, using curl client isahc to handle http request, you can switch to hyper by enable the with-hyper feature.

    apollo-client = { version = "0.5", default-features = false, features = ["with-hyper"] }
    

    Or:

    apollo-client = { version = "0.5", default-features = false, features = ["full-hyper"] }
    

    Or specify the Scenario.

Usage

You can find some examples in the examples directory.

License

Unlicense.