{"id":29420167,"url":"https://github.com/carlsverre/tryiter","last_synced_at":"2025-07-12T01:15:48.744Z","repository":{"id":261513515,"uuid":"884515736","full_name":"carlsverre/tryiter","owner":"carlsverre","description":"Utility functions for Iterators of Results","archived":false,"fork":false,"pushed_at":"2025-01-30T17:17:03.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T04:11:48.786Z","etag":null,"topics":["extension","iterator","library","result","rust"],"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/carlsverre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","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-06T22:27:04.000Z","updated_at":"2025-01-30T17:17:06.000Z","dependencies_parsed_at":"2024-11-07T00:33:23.899Z","dependency_job_id":"86662915-e45b-4145-bb40-13ffe63b42be","html_url":"https://github.com/carlsverre/tryiter","commit_stats":null,"previous_names":["carlsverre/tryiter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/carlsverre/tryiter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlsverre%2Ftryiter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlsverre%2Ftryiter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlsverre%2Ftryiter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlsverre%2Ftryiter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carlsverre","download_url":"https://codeload.github.com/carlsverre/tryiter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlsverre%2Ftryiter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264922924,"owners_count":23683707,"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":["extension","iterator","library","result","rust"],"created_at":"2025-07-12T01:15:47.130Z","updated_at":"2025-07-12T01:15:48.488Z","avatar_url":"https://github.com/carlsverre.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003etryiter\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://docs.rs/tryiter\"\u003e\u003cimg alt=\"docs.rs\" src=\"https://img.shields.io/docsrs/tryiter\"\u003e\u003c/a\u003e\n  \u0026nbsp;\n  \u003ca href=\"https://crates.io/crates/tryiter\"\u003e\u003cimg alt=\"crates.io\" src=\"https://img.shields.io/crates/v/tryiter.svg\"\u003e\u003c/a\u003e\n  \u0026nbsp;\n  \u003ca href=\"https://github.com/carlsverre/tryiter/actions\"\u003e\u003cimg alt=\"Build Status\" src=\"https://github.com/carlsverre/tryiter/actions/workflows/rust.yml/badge.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\nUtility functions for Iterators of Results. This crate is heavily inspired by [TryStreamExt] in the [futures] crate as well as Yoshua Wuyts post on [Fallible Iterator Adapters].\n\n[futures]: https://docs.rs/futures\n[TryStreamExt]: https://docs.rs/futures/latest/futures/stream/trait.TryStreamExt.html\n[Fallible Iterator Adapters]:https://blog.yoshuawuyts.com/fallible-iterator-adapters/\n\n## `TryIteratorExt`\n\nThis crate exports a trait called `TryIteratorExt` which provides utility methods on top of any Iterator which returns a `Result`. `TryIteratorExt` is automatically implemented on top of compatible Iterators via a generic `impl` so all you have to do is import the trait and start calling methods on your iterators.\n\nThe methods provide two fundamental simplifications over regular Iterator methods:\n\n1. They operate directly on `Ok` or `Err` values, passing through the other values transparently.\n2. They take in fallible closures which can return `Err`.\n\nSee [tests/sanity.rs](./tests/sanity.rs) for a quick overview of using this crate.\n\n## Release Stability\n\nThis crate is still pre-1.0 and will be until someone wants to use it in production. If you want to use it before that point please pin a specific version number and be prepared for breaking changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlsverre%2Ftryiter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlsverre%2Ftryiter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlsverre%2Ftryiter/lists"}