161 releases (81 stable)

new 2.0.0-preview.1 Nov 7, 2024
2.0.0-alpha.7 Sep 23, 2024
1.57.1 Nov 4, 2024
1.52.0 Jul 30, 2024
0.1.0 Oct 21, 2021

#51 in HTTP server

Download history 1283/week @ 2024-07-24 1191/week @ 2024-07-31 879/week @ 2024-08-07 1086/week @ 2024-08-14 1387/week @ 2024-08-21 1195/week @ 2024-08-28 1755/week @ 2024-09-04 1302/week @ 2024-09-11 1221/week @ 2024-09-18 1729/week @ 2024-09-25 1108/week @ 2024-10-02 1295/week @ 2024-10-09 1341/week @ 2024-10-16 1057/week @ 2024-10-23 913/week @ 2024-10-30 852/week @ 2024-11-06

4,358 downloads per month
Used in inigo-rs

Elastic-2.0

8.5MB
205K SLoC

Version Docs.rs

Apollo Router Core

Apollo Router

The Apollo Router Core 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 Core as a library

Most Apollo Router Core 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.76.0.

Dependencies

~182MB
~3.5M SLoC