{"id":16116662,"url":"https://github.com/dpc/insideout","last_synced_at":"2025-04-06T08:47:48.362Z","repository":{"id":62440985,"uuid":"111335905","full_name":"dpc/insideout","owner":"dpc","description":"Wrap composed types inside-out (library for Rust)","archived":false,"fork":false,"pushed_at":"2019-05-31T18:01:25.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T05:48:20.830Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dpc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-19T22:06:03.000Z","updated_at":"2023-08-29T03:44:33.000Z","dependencies_parsed_at":"2022-11-01T21:53:41.850Z","dependency_job_id":null,"html_url":"https://github.com/dpc/insideout","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpc%2Finsideout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpc%2Finsideout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpc%2Finsideout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpc%2Finsideout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dpc","download_url":"https://codeload.github.com/dpc/insideout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247457744,"owners_count":20941906,"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-09T20:25:12.202Z","updated_at":"2025-04-06T08:47:48.343Z","avatar_url":"https://github.com/dpc.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://travis-ci.org/dpc/insideout\"\u003e\n      \u003cimg src=\"https://img.shields.io/travis/dpc/insideout/master.svg\" alt=\"Travis CI Build Status\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://crates.io/crates/insideout\"\u003e\n      \u003cimg src=\"https://img.shields.io/crates/d/insideout.svg\" alt=\"dpc on crates.io\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://gitter.im/dpc/dpc\"\u003e\n      \u003cimg src=\"https://img.shields.io/gitter/room/dpc/dpc.svg\" alt=\"dpc Gitter Chat\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# insideout - Wrap composed types inside-out\n\nUpdate: As of 1.33 a functionality like this is available in stdlib (at least for simple type). For iterators you can use `iterator.map(Result::transpose)` or `iterator.map(Option::transpose)` ([thread](https://internals.rust-lang.org/t/transpose-for-iterators/10321/2)).\n\nTurn `Option\u003cResult\u003cO, E\u003e\u003e` into `\u003cResult\u003cOption\u003cO\u003e, E\u003e\u003e` and the other way around.\nAlso for `Iterator`s and potentially other types.\n\nFeel free to submit PR for other types where this operation makes sense.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpc%2Finsideout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdpc%2Finsideout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpc%2Finsideout/lists"}