{"id":15401135,"url":"https://github.com/sunfishcode/utf8-io","last_synced_at":"2025-04-15T22:30:51.229Z","repository":{"id":43151838,"uuid":"333579938","full_name":"sunfishcode/utf8-io","owner":"sunfishcode","description":"Traits and types for UTF-8 I/O","archived":false,"fork":false,"pushed_at":"2024-09-06T03:43:58.000Z","size":72,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T06:07:19.733Z","etag":null,"topics":["library","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sunfishcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-27T22:41:20.000Z","updated_at":"2024-09-21T13:53:36.000Z","dependencies_parsed_at":"2024-10-01T15:56:41.768Z","dependency_job_id":"1f2c270f-dfde-4a38-ad84-d42779c1a86a","html_url":"https://github.com/sunfishcode/utf8-io","commit_stats":{"total_commits":67,"total_committers":1,"mean_commits":67.0,"dds":0.0,"last_synced_commit":"c53a49c4764ad0511ded644dfb1d208e8c1c27c3"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunfishcode%2Futf8-io","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunfishcode%2Futf8-io/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunfishcode%2Futf8-io/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunfishcode%2Futf8-io/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunfishcode","download_url":"https://codeload.github.com/sunfishcode/utf8-io/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248492868,"owners_count":21113163,"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":["library","rust"],"created_at":"2024-10-01T15:56:35.280Z","updated_at":"2025-04-15T22:30:50.801Z","avatar_url":"https://github.com/sunfishcode.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003e\u003ccode\u003eutf8-io\u003c/code\u003e\u003c/h1\u003e\n\n  \u003cp\u003e\n    \u003cstrong\u003eTraits and types for UTF-8 I/O\u003c/strong\u003e\n  \u003c/p\u003e\n\n  \u003cp\u003e\n    \u003ca href=\"https://github.com/sunfishcode/utf8-io/actions?query=workflow%3ACI\"\u003e\u003cimg src=\"https://github.com/sunfishcode/utf8-io/workflows/CI/badge.svg\" alt=\"Github Actions CI Status\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://crates.io/crates/utf8-io\"\u003e\u003cimg src=\"https://img.shields.io/crates/v/utf8-io.svg\" alt=\"crates.io page\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://docs.rs/utf8-io\"\u003e\u003cimg src=\"https://docs.rs/utf8-io/badge.svg\" alt=\"docs.rs docs\" /\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n`utf8-io` defines several utilities for performing UTF-8 I/O.\n\n - [`ReadStr`] and [`WriteStr`] are traits which extend [`Read`] and [`Write`]\n   providing `read_str` and `write_str` functions for reading and writing UTF-8\n   data.\n\n - [`Utf8Reader`] and [`Utf8Writer`] implement `ReadStr` and `WriteStr` and\n   wrap arbitrary `Read` and `Write` implementations. `Utf8Reader` translates\n   invalid UTF-8 encodings into replacements (U+FFFD), while `Utf8Writer`\n   reports errors on invalid UTF-8 encodings. Both ensure that scalar values\n   are never split at the end of a buffer.\n\n - [`Utf8Duplexer`] represents an interactive stream and implements both\n   `ReadStr` and `WriteStr`.\n\n## Similar crates\n\n`Utf8Reader` is similar [`utf8-read`], but differs in that it silently turns\ninvalid byte sequences into replacement characters rather than reporting an\nerror.\n\n[`utf8-read`]: https://crates.io/crates/utf8-read\n[`ReadStr`]: https://docs.rs/utf8-io/latest/utf8_io/trait.ReadStr.html\n[`WriteStr`]: https://docs.rs/utf8-io/latest/utf8_io/trait.WriteStr.html\n[`Utf8Reader`]: https://docs.rs/utf8-io/latest/utf8_io/struct.Utf8Reader.html\n[`Utf8Writer`]: https://docs.rs/utf8-io/latest/utf8_io/struct.Utf8Writer.html\n[`Utf8Duplexer`]: https://docs.rs/utf8-io/latest/utf8_io/struct.Utf8Duplexer.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunfishcode%2Futf8-io","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunfishcode%2Futf8-io","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunfishcode%2Futf8-io/lists"}