awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
graphql-rust avatar

graphql-rust/juniper

0
View on GitHub↗
5,963 星标·441 分支·Rust·8 次浏览

Juniper

Juniper 是一个用于 Rust 的 GraphQL 服务器库和模式引擎。它提供了一套工具包,通过将原生 Rust 数据结构映射到 GraphQL 对象、输入和标量来构建类型安全的 API。该项目作为一个执行引擎,可以通过网络服务器处理查询和变更,也可以作为本地执行的无头引擎。

该库与运行时无关,允许它将 GraphQL 处理与各种异步 Rust Web 框架桥接。它包括一个订阅框架,用于管理持久的 WebSocket 连接,以向客户端推送实时数据更新。

该引擎涵盖了广泛的功能,包括模式语言导出、用于依赖注入的共享状态上下文管理,以及定义解析器的代码优先方法。它还支持集成十进制数和时间戳等专门数据类型,以避免手动数据转换。

Features

  • GraphQL API Implementations - Provides a full toolkit for implementing type-safe GraphQL APIs by mapping native Rust structures to a schema.
  • GraphQL Type Mappings - Maps native Rust language types to GraphQL objects using trait interfaces and procedural macros.
  • GraphQL Subscriptions over WebSocket - Implements GraphQL subscriptions over WebSockets to deliver real-time data updates from the server to connected clients.
  • Language-Specific Type Mappings - Translates native Rust data structures into GraphQL objects, inputs, and scalars using a code-first approach.
  • Field Resolvers - Allows the definition of query and mutation field resolvers that execute business logic and access shared state.
  • GraphQL Execution Engines - Provides a GraphQL execution engine capable of processing queries and mutations independently of a network server.
  • GraphQL Schema Definitions - Maps internal Rust data models to a typed GraphQL schema using a code-first toolkit.
  • GraphQL Servers - Serves as a comprehensive Rust library for building GraphQL servers by defining schemas and resolvers.
  • GraphQL Subscriptions - Implements server-side GraphQL subscriptions to push real-time data updates to clients via persistent connections.
  • Web Framework Integrations - Binds the GraphQL schema engine to various asynchronous HTTP server frameworks to handle network requests.
  • External Type Integrations - Integrates specialized types from external libraries, such as timestamps and decimals, directly into the GraphQL schema.
  • Stream Subscriptions - Implements a stream-oriented subscription model to push real-time data updates to clients via WebSockets.
  • GraphQL Schema Exports - Generates a standard GraphQL schema language representation (SDL) for use in external tools and documentation.
  • Native-to-UI Type Mappings - Maps native Rust data structures into a type-safe GraphQL schema using a code-first approach.
  • Resolver Context Injection - Injects a shared user-defined context object into field resolvers to provide access to databases and external services.
  • WebSocket Transports - Utilizes WebSocket protocols to facilitate bidirectional, real-time communication for GraphQL data operations.
  • GraphQL Resolver Dispatch - Routes GraphQL queries to specific function handlers based on the type definitions mapped in the schema.
  • Schema Generation Macros - Uses procedural macros to automatically derive GraphQL schema definitions from native Rust data structures.
  • Context Sharing - Injects a shared context object into field resolvers to provide access to databases and external services.
  • Web Framework Decoupling - Decouples GraphQL processing logic from the underlying asynchronous runtime to support multiple HTTP frameworks.
  • Asynchronous Request Handlers - Processes GraphQL requests using asynchronous handlers to maintain high concurrency across different runtimes.
  • GraphQL Integration Middleware - Bridges GraphQL execution logic into asynchronous Rust web frameworks via integration middleware.
  • Query Execution Engines - Provides a runtime engine that evaluates GraphQL queries against a schema to produce data without requiring a network server.
  • Spec-Compliant GraphQL Servers - Provides a server implementation that adheres to GraphQL specifications for processing HTTP requests.
  • Data Processing - GraphQL server library for Rust.
  • Server Libraries - GraphQL server library for the Rust ecosystem.

Star 历史

graphql-rust/juniper 的 Star 历史图表graphql-rust/juniper 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

graphql-rust/juniper 是做什么的?

Juniper 是一个用于 Rust 的 GraphQL 服务器库和模式引擎。它提供了一套工具包,通过将原生 Rust 数据结构映射到 GraphQL 对象、输入和标量来构建类型安全的 API。该项目作为一个执行引擎,可以通过网络服务器处理查询和变更,也可以作为本地执行的无头引擎。

graphql-rust/juniper 的主要功能有哪些?

graphql-rust/juniper 的主要功能包括:GraphQL API Implementations, GraphQL Type Mappings, GraphQL Subscriptions over WebSocket, Language-Specific Type Mappings, Field Resolvers, GraphQL Execution Engines, GraphQL Schema Definitions, GraphQL Servers。

graphql-rust/juniper 有哪些开源替代品?

graphql-rust/juniper 的开源替代品包括: async-graphql/async-graphql — async-graphql is a type-safe framework for building specification-compliant GraphQL servers in Rust. It uses… strawberry-graphql/strawberry — Strawberry is a type-safe GraphQL library for Python that enables the design of schemas using Python type annotations… graphql-dotnet/graphql-dotnet — GraphQL.NET is a server-side framework for building and executing GraphQL APIs within C# applications. It provides a… rmosolgo/graphql-ruby — GraphQL-Ruby is a Ruby library for building GraphQL APIs with a strongly typed schema and a dedicated query execution… graph-gophers/graphql-go — graphql-go is a schema-first GraphQL library and server implementation for Go. It provides a query execution engine… graphql-hive/graphql-yoga — Yoga is a GraphQL server framework and runtime-agnostic HTTP handler used to build and deploy GraphQL APIs. It…

Juniper 的开源替代方案

相似的开源项目,按与 Juniper 的功能重合度排序。
  • async-graphql/async-graphqlasync-graphql 的头像

    async-graphql/async-graphql

    3,671在 GitHub 上查看↗

    async-graphql is a type-safe framework for building specification-compliant GraphQL servers in Rust. It uses procedural macros to automatically generate schemas from native language structures, ensuring consistency between the data model and the API specification. The project provides native support for Apollo Federation v2, allowing entities and fields to be shared and resolved across multiple distributed subgraphs. It also implements real-time data streaming via WebSocket subscriptions and asynchronous event streams. The framework includes a wide array of capabilities for schema design, su

    Rust
    在 GitHub 上查看↗3,671
  • strawberry-graphql/strawberrystrawberry-graphql 的头像

    strawberry-graphql/strawberry

    4,674在 GitHub 上查看↗

    Strawberry is a type-safe GraphQL library for Python that enables the design of schemas using Python type annotations and dataclasses. It functions as an asynchronous GraphQL server and execution engine, providing a bridge to expose schemas across ASGI-compliant web frameworks such as FastAPI, Django, Flask, and Litestar. The project implements GraphQL Federation, allowing for the creation of distributed schemas and entities that merge into a unified supergraph across multiple services. It also includes a dedicated toolkit for the Relay specification, supporting global object identification a

    Pythonasgiasynciodjango
    在 GitHub 上查看↗4,674
  • graphql-dotnet/graphql-dotnetgraphql-dotnet 的头像

    graphql-dotnet/graphql-dotnet

    5,987在 GitHub 上查看↗

    GraphQL.NET is a server-side framework for building and executing GraphQL APIs within C# applications. It provides a comprehensive toolkit for schema building, a federated engine for distributed data graphs, and a subscription handler for managing real-time data streams. The project distinguishes itself with a flexible schema builder that supports both programmatic code-first definitions and declarative schema-first approaches using the standard schema definition language. It includes a dedicated federation engine to split data graphs into subgraphs and compose them into a unified gateway, as

    C#apidotnet-coregraphiql
    在 GitHub 上查看↗5,987
  • rmosolgo/graphql-rubyrmosolgo 的头像

    rmosolgo/graphql-ruby

    5,448在 GitHub 上查看↗

    GraphQL-Ruby is a Ruby library for building GraphQL APIs with a strongly typed schema and a dedicated query execution engine. It provides a comprehensive framework for mapping application objects to a formal type system, enabling structured data fetching through defined resolvers. The project distinguishes itself with advanced performance and delivery mechanisms, including a data loader for batching and caching to prevent N+1 query patterns. It supports high-performance data delivery through incremental response streaming, deferred query responses, and parallel data fetching using fibers. Add

    Ruby
    在 GitHub 上查看↗5,448
  • 查看 Juniper 的所有 30 个替代方案→