160 releases (81 stable)

2.0.0-preview.0 Oct 1, 2024
2.0.0-alpha.4 Aug 29, 2024
1.57.1 Nov 4, 2024
1.52.0 Jul 30, 2024
0.1.0 Oct 21, 2021

#100 in HTTP server

Download history 762/week @ 2024-07-15 1045/week @ 2024-07-22 1538/week @ 2024-07-29 825/week @ 2024-08-05 1066/week @ 2024-08-12 1156/week @ 2024-08-19 1603/week @ 2024-08-26 1316/week @ 2024-09-02 1451/week @ 2024-09-09 1141/week @ 2024-09-16 1666/week @ 2024-09-23 1431/week @ 2024-09-30 1038/week @ 2024-10-07 1407/week @ 2024-10-14 1222/week @ 2024-10-21 848/week @ 2024-10-28

4,572 downloads per month
Used in inigo-rs

Elastic-2.0

8.5MB
201K 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