hyperlane-plugin-graphql 23.3.0

A zero-external-parser GraphQL over HTTP plugin for the Hyperlane framework featuring a recursive-descent GraphQL query parser, depth and complexity DoS limits, XxHash3_64 query/mutation resolver registries, variable binding, and GraphQL-over-HTTP POST/GET dispatch.
Documentation
//! hyperlane-plugin-graphql
//!
//! GraphQL over HTTP plugin for Hyperlane with a zero-dependency
//! recursive-descent GraphQL parser, depth and field-count DoS caps,
//! `XxHash3_64` query and mutation resolver registries, and `POST`/`GET`
//! GraphQL-over-HTTP execution.

mod r#const;
mod r#enum;
mod r#fn;
mod r#impl;
mod r#static;
mod r#struct;
mod r#trait;

#[cfg(test)]
#[path = "../tests/mod.rs"]
mod tests;

pub use {r#const::*, r#enum::*, r#fn::*, r#struct::*, r#trait::*};

pub(crate) use r#static::*;

use std::{
    collections::{BTreeMap, VecDeque},
    str::from_utf8,
    sync::{Arc, OnceLock},
};

use {
    hyperlane::{
        CONTENT_TYPE, Context, HashMapXxHash3_64, HttpStatus, Method, Request, ResponseError,
        ServerHook, Status, Stream, hash_map_xx_hash3_64,
    },
    lombok_macros::*,
    serde::{Deserialize, Serialize},
    serde_json::{Map, Number, Value, from_slice, to_vec},
};