40 stable releases
new 5.21.0 | Oct 21, 2024 |
---|---|
5.19.0 | Sep 9, 2024 |
5.17.0 | Jul 16, 2024 |
5.10.2 | Mar 4, 2024 |
3.0.2 | Nov 26, 2022 |
#1023 in HTTP server
431 downloads per month
Used in 5 crates
(4 directly)
350KB
9K
SLoC
wasmer-registry
This crate provides integration with the Wasmer package registry GraphQL API.
Development
Updating the GraphQL Schema
The GraphQL API schema used for generating queries and mutations is located at
./graphql/schema.graphql
.
To update it to a deployed version of the backend, run:
npx get-graphql-schema https://registry.wasmer.wtf/graphql > graphql/schema.graphql
Formatting GraphQL Files
To format the GraphQL query and mutation files, run:
npx prettier --write ./graphql/**/*.graphql
lib.rs
:
High-level interactions with the Wasmer backend.
The GraphQL schema can be updated by running make
in the Wasmer repo's
root directory.
$ make update-graphql-schema
curl -sSfL https://registry.wasmer.io/graphql/schema.graphql > lib/registry/graphql/schema.graphql
Dependencies
~20–39MB
~675K SLoC