
hive-router
A fully open-source MIT-licensed GraphQL API router that can act as a GraphQL federation Router, built with Rust for maximum performance and robustness.
This crate helps you create a custom build of the Hive Router with your own plugins.
use ;
use RouterPlugin;
// Configure the global allocator required for Hive Router runtime
configure_global_allocator!;
// Declare and implement a simple plugin with no configuration and no hooks.
;
// This is the main entrypoint of the Router
async
- To learn more about the router itself, see the router documentation.
- To learn how to extend the router, see the extensibility guide.
- To learn more about the plugin system API, see the API reference.
- If you don't need to extend the router, refer to the getting started guide.