| Crates.io | graphiql |
| lib.rs | graphiql |
| version | 0.1.0 |
| created_at | 2025-06-26 07:35:08.234879+00 |
| updated_at | 2025-06-26 07:35:08.234879+00 |
| description | creates a simple html to open up a graphiql instance |
| homepage | https://gitlab.com/emcellsoft/graphiql |
| repository | https://gitlab.com/emcellsoft/graphiql |
| max_upload_size | |
| id | 1726920 |
| size | 3,850 |
I use this crate to deliver a graphiql instance with my graphql apis.
async fn graphiql() -> impl IntoResponse {
(
[(header::CONTENT_TYPE, "text/html")],
graphiql::graphiql_body(GraphiqlOptions {
endpoint: "/graphql".to_owned(),
subscription_endpoint: None,
}),
)
}