{"id":27116817,"url":"https://github.com/ynot01/godot_rust_yaml","last_synced_at":"2025-04-07T05:52:53.125Z","repository":{"id":180281871,"uuid":"664875801","full_name":"ynot01/godot_rust_yaml","owner":"ynot01","description":"Godot GDExtension YAML parser","archived":false,"fork":false,"pushed_at":"2024-04-28T00:27:03.000Z","size":51,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-28T19:25:55.302Z","etag":null,"topics":["gdextension","godot","yaml","yaml-parser"],"latest_commit_sha":null,"homepage":"","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/ynot01.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":"2023-07-11T00:36:42.000Z","updated_at":"2024-04-28T00:27:06.000Z","dependencies_parsed_at":"2024-04-26T19:25:47.729Z","dependency_job_id":null,"html_url":"https://github.com/ynot01/godot_rust_yaml","commit_stats":null,"previous_names":["ynot01/godot_rust_yaml"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynot01%2Fgodot_rust_yaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynot01%2Fgodot_rust_yaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynot01%2Fgodot_rust_yaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynot01%2Fgodot_rust_yaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ynot01","download_url":"https://codeload.github.com/ynot01/godot_rust_yaml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247601481,"owners_count":20964864,"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":["gdextension","godot","yaml","yaml-parser"],"created_at":"2025-04-07T05:52:52.541Z","updated_at":"2025-04-07T05:52:53.111Z","avatar_url":"https://github.com/ynot01.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# godot_rust_yaml\n\n### YAML GDExtension for [Godot 4.x](https://github.com/godotengine/godot)\n\nDoes not support object serialization. Objects will be parsed as a string \"\u003cClassName#InstanceID\u003e\"\n\n- Crates used:\n  - [godot-rust/gdext](https://github.com/godot-rust/gdext)\n  - [serde](https://github.com/serde-rs/serde)\n  - [serde-yaml](https://github.com/dtolnay/serde-yaml)\n  - [serde-json](https://github.com/serde-rs/json)\n\n# Downloads\n\n[Downloads are at releases](https://github.com/ynot01/godot_rust_yaml/releases)\n\n# Usage\n\n**Currently only pre-built windows builds are available, other platforms see [Compiling](#Compiling)**\n\nHead to releases and place the `godot_rust_yaml` folder into your addons folder\n\n## YAML.parse(str: String)\n\nReturns a dictionary of parsed YAML or a string if an error had occured\n\n```gdscript\nvar parsed_yaml = YAML.parse(\"foo: bar\") # {\"foo\":\"bar\"}\nif typeof(parsed_yaml) != TYPE_DICTIONARY:\n  push_error(parsed_yaml)\n  return\n# do stuff with dictionary\n```\n\n## YAML.to_string(input: Dictionary)\n\nReturns a string of YAML or an error if it had occured\n\n```gdscript\nprint(YAML.to_string({\"foo\":\"bar\"})) # foo: bar\n```\n\n# Compiling\n\nRequires [rust](https://www.rust-lang.org/tools/install)\n\n1. Fork this repository\n2. Navigate to `/addons/godot_rust_yaml/rust/`\n3. To find a version of Godot 4, the library expects either an executable of name `godot4` in the PATH, or an environment variable `GODOT4_BIN` containing the path to the executable (including filename)\n4. Run `cargo build` and/or `cargo build --release` for debug/release builds respectively\n5. The project should now be runnable in the [godot editor](https://godotengine.org/download/) for debugging, your binary files will be in `res://addons/godot_rust_yaml/rust/target/`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fynot01%2Fgodot_rust_yaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fynot01%2Fgodot_rust_yaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fynot01%2Fgodot_rust_yaml/lists"}