{"id":25408180,"url":"https://github.com/ibnz36/arrowpipe","last_synced_at":"2025-04-13T11:59:17.119Z","repository":{"id":207037910,"uuid":"718292024","full_name":"ibnz36/arrowpipe","owner":"ibnz36","description":"Build complex pipelines easily","archived":false,"fork":false,"pushed_at":"2023-11-13T20:04:38.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T11:59:14.320Z","etag":null,"topics":["cargo","crate","data","pipe","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/arrowpipe","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/ibnz36.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.YML","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"ko_fi":"brian3647"}},"created_at":"2023-11-13T19:32:08.000Z","updated_at":"2024-05-01T11:24:30.000Z","dependencies_parsed_at":"2023-11-13T20:20:09.123Z","dependency_job_id":"82b17710-2e0c-4149-ba8b-be2761098d72","html_url":"https://github.com/ibnz36/arrowpipe","commit_stats":null,"previous_names":["brian3647/arrowpipe","ibnz36/arrowpipe"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibnz36%2Farrowpipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibnz36%2Farrowpipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibnz36%2Farrowpipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibnz36%2Farrowpipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibnz36","download_url":"https://codeload.github.com/ibnz36/arrowpipe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710436,"owners_count":21149188,"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":["cargo","crate","data","pipe","rust"],"created_at":"2025-02-16T07:20:32.794Z","updated_at":"2025-04-13T11:59:17.097Z","avatar_url":"https://github.com/ibnz36.png","language":"Rust","funding_links":["https://ko-fi.com/brian3647"],"categories":[],"sub_categories":[],"readme":"# ArrowPipe: Build complex pipelines easily\n\nAn [`Arrow`] is a function composition system that can be used to create\ncomplex data processing pipelines.\n\n## Installation\n\nAdd the following to your `Cargo.toml`:\n\n```toml\n[dependencies]\narrowpipe = \"*\"\n```\n\n## Example\n\n```rust\nuse arrowpipe::Arrow;\n\nfn add_one(x: i32) -\u003e i32 {\n   x + 1\n}\n\nfn double(x: i32) -\u003e i32 {\n  x * 2\n}\n\nlet mut arrow = Arrow::new(add_one);\narrow.symbiotize(Arrow::new(double));\narrow.symbiotize(Arrow::new(|x| x - 1));\n\nassert_eq!(arrow.shoot(1), 3);\n```\n\n## Order of execution example:\n\n```rust\nuse arrowpipe::Arrow;\n\nfn add_one(x: i32) -\u003e i32 {\n   x + 1\n}\n\nlet mut first = Arrow::new(add_one); // Second: 2 -\u003e 3\nfirst.symbiotize(Arrow::new(|x| x * 2)); // Third: 3 -\u003e 6\n\nlet mut second = Arrow::new(add_one); // First: 1 -\u003e 2\nsecond.symbiotize(first);\n\nassert_eq!(second.shoot(1), 6);\n```\n\n## Why?\n\nThis is specially useful for long pipelines like a build system. With the `Arrow` struct, you can simply add another `Arrow` to an existing one to have a new step.\n\n## License\n\nThis project is licensed under the MIT license ([LICENSE](LICENSE) or http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibnz36%2Farrowpipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibnz36%2Farrowpipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibnz36%2Farrowpipe/lists"}