graphiql

Crates.iographiql
lib.rsgraphiql
version0.1.0
created_at2025-06-26 07:35:08.234879+00
updated_at2025-06-26 07:35:08.234879+00
descriptioncreates a simple html to open up a graphiql instance
homepagehttps://gitlab.com/emcellsoft/graphiql
repositoryhttps://gitlab.com/emcellsoft/graphiql
max_upload_size
id1726920
size3,850
(emcell)

documentation

README

graphiql

I use this crate to deliver a graphiql instance with my graphql apis.

Usage with axum

async fn graphiql() -> impl IntoResponse {
    (
        [(header::CONTENT_TYPE, "text/html")],
        graphiql::graphiql_body(GraphiqlOptions {
            endpoint: "/graphql".to_owned(),
            subscription_endpoint: None,
        }),
    )
}

Commit count: 0

cargo fmt