qmetrics.net

Juniper

GraphQL server library for Rust applications

Juniper is a Rust library for building type-safe GraphQL servers. It integrates with common web frameworks and supports the full GraphQL query language.

Overview

Juniper is a GraphQL server library for the Rust programming language. Teams use it to define and resolve GraphQL schemas in Rust with compile-time type safety, then attach those schemas to an existing HTTP stack rather than running a bundled web server.

The library supports GraphQL specification features including interfaces, unions, schema introspection, and validations. It can emit schemas in GraphQL Schema Language. Juniper follows a code-first schema style; a separate juniper-from-schema crate supports schema-first workflows.

Juniper does not ship its own web server. Optional integrations cover Actix, Axum, Hyper, Rocket, and Warp, with embedded GraphiQL and GraphQL Playground for debugging. Execution can be synchronous or asynchronous and remains runtime agnostic.

Automatic schema integration is provided for common Rust crates such as uuid, url, chrono, and bson. By default, nullable GraphQL fields map differently than in some other language bindings, with non-null types as the default for vectors and similar Rust types.

Key features

  • Full GraphQL query language support
  • Code-first schema definitions
  • Actix, Hyper, Rocket, and Warp integrations
  • Async and sync execution modes
  • Schema introspection and validation
  • GraphiQL and Playground embedding
  • Automatic common crate type integration
  • GraphQL Schema Language output

Use cases

  • GraphQL APIs in Rust services
  • Integrating GraphQL into existing servers
  • Type-safe schema development
  • Mobile and web frontend backends

Tags

Similar software

FastAPI

Python web framework for building APIs with type hints

FastAPI is a Python web framework for building APIs using standard type hints. It builds on Starlette and Pydantic and generates interactive OpenAPI documentation for the endpoints you define.

★ 105.1k⟳ 9 days agoMIT

NestJS

Progressive TypeScript framework for Node.js backends

Nest organizes Node server apps with modules, dependency injection, and first-party packages for auth, data, queues, and observability.

★ 77.2k⟳ todayMIT

OkHttp

HTTP client for JVM, Android, and GraalVM

OkHttp is an HTTP client library tuned for efficient networking on Android, Java, and GraalVM native images. It offers synchronous and asynchronous call APIs with a fluent request builder.

★ 47.1k⟳ yesterdayApache-2.0
Frameworks & PlatformsDesktop/CLI app

gRPC

Cross-language remote procedure call framework

gRPC is an RPC framework that lets client and server programs communicate transparently and supports building connected, multi-language systems.

★ 45.5k⟳ todayApache-2.0

tRPC

End-to-end typesafe TypeScript APIs without code generation

tRPC helps teams define server procedures and call them from clients with full TypeScript types for inputs, outputs, and errors—no schemas or codegen step.

★ 40.9k⟳ todayMIT
Frameworks & PlatformsDesktop/CLI app

go-zero

Cloud-native Go microservices and RPC framework

go-zero is a Go web and RPC framework with code generation, built-in resilience middleware, and tooling aimed at stable high-traffic services.

★ 33.5k⟳ 9 days agoMIT