{"id":17826210,"url":"https://github.com/17cupsofcoffee/ogmo3","last_synced_at":"2025-03-18T22:31:04.085Z","repository":{"id":48300404,"uuid":"302103691","full_name":"17cupsofcoffee/ogmo3","owner":"17cupsofcoffee","description":"🗺️ A Rust crate for parsing projects and levels created with Ogmo Editor 3","archived":false,"fork":false,"pushed_at":"2021-08-02T16:51:18.000Z","size":80,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-28T13:17:44.991Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/17cupsofcoffee.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-07T16:58:13.000Z","updated_at":"2025-01-22T06:28:50.000Z","dependencies_parsed_at":"2022-09-15T16:52:17.307Z","dependency_job_id":null,"html_url":"https://github.com/17cupsofcoffee/ogmo3","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/17cupsofcoffee%2Fogmo3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/17cupsofcoffee%2Fogmo3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/17cupsofcoffee%2Fogmo3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/17cupsofcoffee%2Fogmo3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/17cupsofcoffee","download_url":"https://codeload.github.com/17cupsofcoffee/ogmo3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243955684,"owners_count":20374373,"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-10-27T18:40:30.916Z","updated_at":"2025-03-18T22:31:03.851Z","avatar_url":"https://github.com/17cupsofcoffee.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ogmo3\n\n[![Build Status](https://img.shields.io/github/workflow/status/17cupsofcoffee/ogmo3/CI%20Build/main)](https://github.com/17cupsofcoffee/ogmo3/actions?query=branch%3Amain)\n[![Crates.io](https://img.shields.io/crates/v/ogmo3.svg)](https://crates.io/crates/ogmo3)\n[![Documentation](https://docs.rs/ogmo3/badge.svg)](https://docs.rs/ogmo3)\n[![License](https://img.shields.io/crates/l/ogmo3.svg)](LICENSE)\n\n`ogmo3` is a Rust crate for reading and writing [Ogmo Editor 3](https://ogmo-editor-3.github.io/) projects and levels.\n\nIt is modelled loosely off the API for Haxe's [`ogmo-3-lib`](https://github.com/Ogmo-Editor-3/ogmo-3-lib) (for now, at least), and aims to provide reasonably type-safe access to the entirety of Ogmo Editor 3.3.0's JSON schema.\n\n## Installation\n\n\n```toml\n[dependencies]\nogmo3 = \"0.1\"\n```\n\n## Usage\n\n```rust\nuse ogmo3::{Level, Project};\n\nfn main() {\n    let project = Project::from_file(\"./example.ogmo\").unwrap();\n    let level = Level::from_file(\"./levels/level.json\").unwrap();\n}\n```\n\nFor a full example of how to interpret the data in an Ogmo project, see the [sample code](./examples/sample.rs).\n\n## Caveats\n\n* This crate does _not_ provide a runtime or renderer, but should make it easier to create one tailored to your project.\n* If you deserialize a project/level and then reserialize it, there is no guarentee that the formatting/ordering of fields will be retained, as this would increase the complexity of the library significantly. However, there should never be any loss of data (and if there is, please file a bug report)!\n* This crate has only been tested with Ogmo Editor 3.3.0 - data from earlier versions will likely fail to parse due to missing fields. \n\n## License\n\nThis project is licensed under the terms of the [MIT License](./LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F17cupsofcoffee%2Fogmo3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F17cupsofcoffee%2Fogmo3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F17cupsofcoffee%2Fogmo3/lists"}