{"id":21929943,"url":"https://github.com/raphamorim/sugarloaf","last_synced_at":"2025-04-06T08:11:55.086Z","repository":{"id":265092245,"uuid":"893083698","full_name":"raphamorim/sugarloaf","owner":"raphamorim","description":"Sugarloaf is a simple cross-platform rendering engine.","archived":false,"fork":false,"pushed_at":"2024-12-08T17:33:38.000Z","size":10744,"stargazers_count":41,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T07:11:21.427Z","etag":null,"topics":["rio","rio-terminal","rust","rust-lang"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raphamorim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-11-23T13:45:49.000Z","updated_at":"2025-03-21T00:25:31.000Z","dependencies_parsed_at":"2025-01-16T13:34:25.941Z","dependency_job_id":"6bc3ca03-ff92-4324-a059-4c6fb32d14de","html_url":"https://github.com/raphamorim/sugarloaf","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"f36214ba86a301c96d05821941b50cbdf0763158"},"previous_names":["raphamorim/sugarloaf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphamorim%2Fsugarloaf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphamorim%2Fsugarloaf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphamorim%2Fsugarloaf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphamorim%2Fsugarloaf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raphamorim","download_url":"https://codeload.github.com/raphamorim/sugarloaf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247451654,"owners_count":20940939,"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":["rio","rio-terminal","rust","rust-lang"],"created_at":"2024-11-28T23:06:34.797Z","updated_at":"2025-04-06T08:11:55.050Z","avatar_url":"https://github.com/raphamorim.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Sugarloaf\n\nNote: sugarloaf has moved into [Rio terminal](https://github.com/raphamorim/rio) source code through cargo workspaces.\n\nSugarloaf is Rio rendering engine, designed to be multiplatform. It is based on WebGPU, Rust library for Desktops and WebAssembly for Web (JavaScript). This project is created and maintained for Rio terminal purposes but feel free to use it.\n\n```bash\ncargo run --example text\n```\n\n## WASM Tests\n\n### Setup\n\nInstall `wasm-bindgen-cli` globally: `cargo install wasm-bindgen-cli`.\n`wasm-bindgen-cli` provides a test runner harness.\n\n### Running Tests\n\nRun (in the root sugarloaf directory):\n\n```\nCARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER=wasm-bindgen-test-runner cargo test --target wasm32-unknown-unknown -p sugarloaf --tests\n```\n\nFlag explanation:\n\n- `CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER=wasm-bindgen-test-runner`: Tells\n  Cargo to use the test harness provided by `wasm-bindgen-cli`.\n- `-p sugarloaf`: Only run tests in the sugarloaf directory.\n- `--tests`: Only run tests; do not build examples. Many (possibly all) of the\n  examples in sugarloaf/examples currently do not compile to WASM because they\n  use networking.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphamorim%2Fsugarloaf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraphamorim%2Fsugarloaf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphamorim%2Fsugarloaf/lists"}