⚠️ Some features are not yet implemented. Please do not use in a production environment.
The GraphQL server library implemented by rust
Documentation
- GitHub repository
- Cargo package
- Minimum supported Rust version: 1.39 or later
Features
- Fully support async/await.
- Type safety.
- Rustfmt friendly (Procedural Macro).
- Custom scalar.
- Minimal overhead.
- Easy integration (hyper, actix_web, tide ...).
Goals
- Types
- Scalar
- Integer
- Float
- String
- Bool
- ID
- DateTime
- UUID
- Containers
- List
- Non-Null
- Object
- Generic Types
- Lifetime cycle
- Enum
- InputObject
- Field default value
- Deprecated flag
- Interface
- Union
- Scalar
- Query
- Fields
- Arguments
- Default value
- Deprecated flag
- Alias
- Fragments
- Inline fragments
- Operation name
- Variables
- Default value
- Parse value
- Directives
- @include
- FIELD
- FRAGMENT_SPREAD
- INLINE_FRAGMENT
- @skip
- FIELD
- FRAGMENT_SPREAD
- INLINE_FRAGMENT
- @include
- Schema
- Validation rules
- ArgumentsOfCorrectType
- DefaultValuesOfCorrectType
- FieldsOnCorrectType
- FragmentsOnCompositeTypes
- KnownArgumentNames
- KnownDirectives
- KnownFragmentNames
- KnownTypeNames
- LoneAnonymousOperation
- NoFragmentCycles
- NoUndefinedVariables
- NoUnusedFragments
- NoUnusedVariables
- OverlappingFieldsCanBeMerged
- PossibleFragmentSpreads
- ProvidedNonNullArguments
- ScalarLeafs
- UniqueArgumentNames
- UniqueFragmentNames
- UniqueInputFieldNames
- UniqueOperationNames
- UniqueVariableNames
- VariableInAllowedPosition
- Integration examples
- Actix-web
- Hyper
- Tide
License
Licensed under either of
- Apache License, Version 2.0, (./LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (./LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.