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

#53 in HTTP server

Download history 1057/week @ 2024-07-18 1349/week @ 2024-07-25 1074/week @ 2024-08-01 856/week @ 2024-08-08 1162/week @ 2024-08-15 1440/week @ 2024-08-22 1019/week @ 2024-08-29 1860/week @ 2024-09-05 1260/week @ 2024-09-12 1359/week @ 2024-09-19 1652/week @ 2024-09-26 1072/week @ 2024-10-03 1231/week @ 2024-10-10 1377/week @ 2024-10-17 993/week @ 2024-10-24 879/week @ 2024-10-31

4,760 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

~183MB
~3.5M SLoC