{"id":22751976,"url":"https://github.com/aandreba/spirv-cross","last_synced_at":"2025-04-14T13:57:00.386Z","repository":{"id":184407044,"uuid":"671580126","full_name":"Aandreba/spirv-cross","owner":"Aandreba","description":"High and low level bindigns to the SPIRV-Cross API","archived":false,"fork":false,"pushed_at":"2024-05-05T11:02:14.000Z","size":59,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T01:40:34.947Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Aandreba.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":["Aandreba"]}},"created_at":"2023-07-27T16:35:52.000Z","updated_at":"2024-05-05T11:02:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb4469a6-76c1-4f5c-a87c-eaf6175b6dd5","html_url":"https://github.com/Aandreba/spirv-cross","commit_stats":null,"previous_names":["aandreba/spirv-cross"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aandreba%2Fspirv-cross","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aandreba%2Fspirv-cross/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aandreba%2Fspirv-cross/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aandreba%2Fspirv-cross/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aandreba","download_url":"https://codeload.github.com/Aandreba/spirv-cross/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248893535,"owners_count":21179041,"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":[],"created_at":"2024-12-11T05:09:13.449Z","updated_at":"2025-04-14T13:57:00.350Z","avatar_url":"https://github.com/Aandreba.png","language":"Rust","funding_links":["https://github.com/sponsors/Aandreba"],"categories":[],"sub_categories":[],"readme":"# spirv-cross\nHigh and low level bindigns to the SPIRV-Cross API\n\n## Example\n```rust\nuse spirvcross::{\n    bytes_to_words,\n    compiler::{glsl::GlslCompiler, Compiler},\n    Result,\n    Context,\n};\n\nfn compile(bytes: \u0026[u8]) -\u003e Result\u003c()\u003e {\n    let words = bytes_to_words(bytes).unwrap();\n\n    let mut context = Context::new()?;\n    context.set_error_callback(|err| eprintln!(\"{}\", err.to_string_lossy()));\n\n    let compiler = GlslCompiler::new(\u0026mut context, \u0026words)?\n        .vulkan_semantics(true)?;\n\n    println!(\"{}\", compiler.compile()?);\n    return Ok(());\n}\n```\n\n## Supported Targets\n- Linux\n- macOS\n- Windows\n- WebAssembly (WASI)\n    - Compiling to WebAssembly from a Windows machine currently doesn't work.\n- Android\n    - Building for Android currently only works on Windows.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faandreba%2Fspirv-cross","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faandreba%2Fspirv-cross","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faandreba%2Fspirv-cross/lists"}