当前位置: 首页 > 软件库 > 大数据 > 数据查询 >

juniper

GraphQL server library for Rust
授权协议 BSD-2-Clause License
开发语言 Java
所属分类 大数据、 数据查询
软件类型 开源软件
地区 不详
投 递 者 米夕
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Juniper

GraphQL server library for Rust


GraphQL is a data query language developed by Facebook intended toserve mobile and web application frontends.

Juniper makes it possible to write GraphQL servers in Rust that aretype-safe and blazingly fast. We also try to make declaring and resolvingGraphQL schemas as convenient as Rust will allow.

Juniper does not include a web server - instead it provides building blocks tomake integration with existing servers straightforward. It optionally provides apre-built integration for the Actix, Hyper, Iron, Rocket, and Warp frameworks, includingembedded Graphiql and GraphQL Playground for easy debugging.

The book is also available for the master branch and older versions published after 0.11.1. See the book index.

Getting Started

The best place to get started is the Juniper Book, which containsguides with plenty of examples, covering all features of Juniper. (very much WIP)

To get started quickly and get a feel for Juniper, check out theQuickstart section.

For specific information about macros, types and the Juniper api, theAPI Reference is the best place to look.

You can also check out the Star Wars schema to see a complexexample including polymorphism with traits and interfaces.For an example of web framework integration,see the actix, hyper, rocket, iron, and warp examples folders.

Features

Juniper supports the full GraphQL query language according to thespecification, including interfaces, unions, schemaintrospection, and validations. It can also output the schema in the GraphQL Schema Language.

As an exception to other GraphQL libraries for other languages, Juniper buildsnon-null types by default. A field of type Vec<Episode> will be converted into[Episode!]!. The corresponding Rust type for e.g. [Episode] would beOption<Vec<Option<Episode>>>.

Juniper is agnostic to serialization format and network transport.

Juniper supports both asynchronous and synchronous execution using execute() and execute_sync() respectively. Asynchronous execution is runtime agnostic.

Juniper follows a code-first approach to defining GraphQL schemas. If you would like to use a schema-first approach instead, consider juniper-from-schema for generating code from a schema file.

Integrations

Data types

Juniper has automatic integration with some very common Rust crates to makebuilding schemas a breeze. The types from these crates will be usable inyour Schemas automatically.

Web Frameworks

Guides & Examples

API Stability

Juniper has not reached 1.0 yet, thus some API instability should be expected.

  • 1.1、Juniper防火墙配置概述 Juniper防火墙作为专业的网络安全设备,可以支持各种复杂网络环境中的网络安全应用需求;但是由于部署模式及功能的多样性使得Juniper防火墙在实际部署时具有一定的复杂性。   在配置Juniper防火墙之前我们通常需要先了解用户现有网络的规划情况和用户对防火墙配置及实现功能的诸多要求,建议参照以下思路和步骤对Juniper防火墙进行配置和管理。 基本配置:

  • 前些日子认真看了一下Juniper路由器的一些命令。在这里总结一下。方便以后使用 Juniper路由器的命令主要分为两个部分,一个是operational,主要是复杂查看目前网络的配置情况(只能查看,不能修改。感觉权限比较低);另一个是configuration,主要用来查看和修改配置(感觉权限高一些)。刚进入到Juniper路由器时,默认进入的是operation,输入edit命令之后,就进入到

相关阅读

相关文章

相关问答

相关文档