12 stable releases

new 1.10.0 Feb 1, 2023
1.9.0 Jan 24, 2023
1.7.0 Dec 23, 2022
1.4.0 Nov 15, 2022
0.1.0 Oct 21, 2021

#148 in HTTP server

Download history 264/week @ 2022-10-14 369/week @ 2022-10-21 268/week @ 2022-10-28 350/week @ 2022-11-04 497/week @ 2022-11-11 595/week @ 2022-11-18 396/week @ 2022-11-25 638/week @ 2022-12-02 721/week @ 2022-12-09 908/week @ 2022-12-16 428/week @ 2022-12-23 583/week @ 2022-12-30 864/week @ 2023-01-06 1118/week @ 2023-01-13 1661/week @ 2023-01-20 1192/week @ 2023-01-27

5,051 downloads per month
Used in inigo-rs

Elastic-2.0

2MB
45K SLoC

Version Docs.rs

Apollo Router

Apollo Router

The Apollo Router is a configurable, high-performance graph router written in Rust to run a federated supergraph that uses Apollo Federation 2. It is well-tested, regularly benchmarked, includes major features of Apollo Gateway and serves production-scale workloads.

The latest release can always be found at the top of the Releases page along with past releases and release notes. We follow the Semantic Versioning 2.0.0 specification when publishing new versions. A CHANGELOG.md is also included in the Git repository with information about each release.

Getting started

Follow the quickstart tutorial to get up and running with the Apollo Router.

See the documentation for more details and guides on running the Router:

  • using Helm charts in Kubernetes
  • with pre-published Docker images
  • including additional customizations
  • from source, and more!

Using the Apollo Router as a library

Most Apollo Router features can be defined using our YAML configuration and many customizations can be written with Rhai scripts which work on published binaries of the Router and do not require compilation.

If you prefer to write customizations in Rust or need more advanced customizations, see our section on native customizations for information on how to use apollo-router as a Rust library. We also publish Rust-specific documentation on our apollo-router crate docs.

The minimum supported Rust version (MSRV) for this version of apollo-router is 1.63.0.

Dependencies

~140MB
~3M SLoC