{"id":15295108,"url":"https://github.com/aircastdev/glimesh-rs","last_synced_at":"2025-04-13T15:56:48.496Z","repository":{"id":43793445,"uuid":"350453434","full_name":"AircastDev/glimesh-rs","owner":"AircastDev","description":"Rust client for performing queries, mutations, and subscriptions against the Glimesh API.","archived":false,"fork":false,"pushed_at":"2023-03-21T14:44:03.000Z","size":80,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T23:36:35.658Z","etag":null,"topics":["glimesh","grapqhl","rust","rust-crate","rust-lang"],"latest_commit_sha":null,"homepage":"https://docs.rs/glimesh/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AircastDev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-22T18:45:30.000Z","updated_at":"2023-05-15T06:06:27.000Z","dependencies_parsed_at":"2024-10-14T23:31:10.865Z","dependency_job_id":null,"html_url":"https://github.com/AircastDev/glimesh-rs","commit_stats":{"total_commits":49,"total_committers":4,"mean_commits":12.25,"dds":"0.22448979591836737","last_synced_commit":"1506819aa7faacef99a4dfbaeba7a478f3af4884"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AircastDev%2Fglimesh-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AircastDev%2Fglimesh-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AircastDev%2Fglimesh-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AircastDev%2Fglimesh-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AircastDev","download_url":"https://codeload.github.com/AircastDev/glimesh-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248741147,"owners_count":21154251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["glimesh","grapqhl","rust","rust-crate","rust-lang"],"created_at":"2024-09-30T17:08:40.044Z","updated_at":"2025-04-13T15:56:48.477Z","avatar_url":"https://github.com/AircastDev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# glimesh-rs\n\n![Crates.io](https://img.shields.io/crates/l/glimesh) [![Crates.io](https://img.shields.io/crates/v/glimesh)](https://crates.io/crates/glimesh) [![Docs.rs](https://docs.rs/glimesh/badge.svg)](https://docs.rs/glimesh)\n\n\u003c!-- cargo-sync-readme start --\u003e\n\nA wrapper around [graphql_client](https://github.com/graphql-rust/graphql-client) for easier use with [Glimesh](https://glimesh.tv). This is currently a work in progress, and should be considered beta, but it is being used to power [Oaty](https://oaty.app) in production.\n\n## Features\n\n-   Queries\n-   Mutations\n-   Subscriptions\n-   HTTP or Websocket connection\n-   Automatic access token refreshing\n-   Reconnect and resubscribe to subscriptions on socket failure\n\n## Example\n\nMore examples can be found in the `examples/` directory.\n\n```rust\n#[derive(GraphQLQuery)]\n#[graphql(\n    schema_path = \"examples/graphql/schema.json\",\n    query_path = \"examples/graphql/user_details.graphql\",\n    response_derives = \"Debug\"\n)]\npub struct UserDetailsQuery;\n\nlet auth = Auth::client_id(client_id);\nlet conn = Connection::new(auth);\nlet client = conn.into_client();\n\nlet res = client\n    .query::\u003cUserDetailsQuery\u003e(\n        user_details_query::Variables {\n            username: \"James\".into(),\n        }\n    )\n    .await?;\n\nlet user = res.user;\nprintln!(\"User details: {:#?}\", user);\n```\n\n## License\n\nLicensed under either of\n\n-   Apache License, Version 2.0\n    ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n-   MIT license\n    ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n\n\u003c!-- cargo-sync-readme end --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faircastdev%2Fglimesh-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faircastdev%2Fglimesh-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faircastdev%2Fglimesh-rs/lists"}