{"id":13439413,"url":"https://github.com/kimhyunkang/libyaml-rust","last_synced_at":"2025-03-20T08:30:58.013Z","repository":{"id":16688538,"uuid":"19444948","full_name":"kimhyunkang/libyaml-rust","owner":"kimhyunkang","description":"LibYAML bindings for Rust","archived":false,"fork":false,"pushed_at":"2018-12-11T23:58:04.000Z","size":260,"stargazers_count":22,"open_issues_count":5,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-28T03:51:19.327Z","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/kimhyunkang.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}},"created_at":"2014-05-05T05:31:28.000Z","updated_at":"2022-08-03T17:28:33.000Z","dependencies_parsed_at":"2022-07-26T08:32:14.168Z","dependency_job_id":null,"html_url":"https://github.com/kimhyunkang/libyaml-rust","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimhyunkang%2Flibyaml-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimhyunkang%2Flibyaml-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimhyunkang%2Flibyaml-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimhyunkang%2Flibyaml-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kimhyunkang","download_url":"https://codeload.github.com/kimhyunkang/libyaml-rust/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244577631,"owners_count":20475340,"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-07-31T03:01:13.701Z","updated_at":"2025-03-20T08:30:57.707Z","avatar_url":"https://github.com/kimhyunkang.png","language":"Rust","funding_links":[],"categories":["Libraries","库 Libraries","库"],"sub_categories":["Encoding","加密 Encoding","编码(Encoding)"],"readme":"libyaml-rust\n============\n\n[![libyaml-rust on Travis CI][travis-image]][travis]\n[![yaml on crates.io][crates-image]][crate]\n\n[travis-image]: https://travis-ci.org/kimhyunkang/libyaml-rust.svg?branch=master\n[travis]: https://travis-ci.org/kimhyunkang/libyaml-rust\n[crates-image]: http://meritbadge.herokuapp.com/yaml\n[crate]: https://crates.io/crates/yaml\n\n[LibYAML][libyaml-home] bindings for [Rust][rust-home]\n\n[libyaml-home]: http://pyyaml.org/wiki/LibYAML\n[rust-home]: http://www.rust-lang.org/\n\nDependencies\n------------\n\n* LibYAML 0.1.4 or higher\n* Stable Rust (2015/2018 edition)\n\nUsage\n-----\n\nParse from memory\n\n~~~~ {.rust}\nextern crate yaml;\n\nuse yaml::constructor::*;\n\nyaml::parse_bytes_utf8(\"[1, 2, 3]\".as_bytes()); // =\u003e Ok(vec![YamlSequence(~[YamlInteger(1), YamlInteger(2), YamlInteger(3)])])\n~~~~\n\nParse from Reader\n\n~~~~ {.rust}\nextern crate yaml;\n\nuse std::io::BufReader;\nuse yaml::constructor::*;\n\nlet data = \"[1, 2, 3]\";\nlet mut reader = BufReader::new(data.as_bytes());\n\nyaml::parse_io_utf8(\u0026mut reader); // =\u003e Ok(vec![YamlSequence(~[YamlInteger(1), YamlInteger(2), YamlInteger(3)])])\n~~~~\n\nTodo\n----\n\nIn the order of what I want to do...\n\n- [x] Emitter functions\n- [x] Document iterator\n- [x] UTF-16 support\n- Complete YAML 1.1 specs\n  - [ ] Tag support\n  - [ ] [Timestamp type](http://yaml.org/type/timestamp.html)\n  - [ ] [Int parser](http://yaml.org/type/int.html)\n  - [ ] [Float parser](http://yaml.org/type/float.html)\n- [ ] Token functions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkimhyunkang%2Flibyaml-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkimhyunkang%2Flibyaml-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkimhyunkang%2Flibyaml-rust/lists"}