{"id":33936678,"url":"https://github.com/wolfiestyle/array_ext","last_synced_at":"2026-04-08T19:31:13.173Z","repository":{"id":57493977,"uuid":"71501273","full_name":"wolfiestyle/array_ext","owner":"wolfiestyle","description":"Extra functionality for Rust arrays","archived":false,"fork":false,"pushed_at":"2023-07-24T23:15:12.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-14T05:11:42.100Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wolfiestyle.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":"2016-10-20T20:22:18.000Z","updated_at":"2022-11-10T23:58:09.000Z","dependencies_parsed_at":"2022-09-02T01:40:20.691Z","dependency_job_id":null,"html_url":"https://github.com/wolfiestyle/array_ext","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/wolfiestyle/array_ext","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolfiestyle%2Farray_ext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolfiestyle%2Farray_ext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolfiestyle%2Farray_ext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolfiestyle%2Farray_ext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wolfiestyle","download_url":"https://codeload.github.com/wolfiestyle/array_ext/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolfiestyle%2Farray_ext/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31571599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-12-12T14:29:19.782Z","updated_at":"2026-04-08T19:31:13.165Z","avatar_url":"https://github.com/wolfiestyle.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# array_ext\n\nExtra functionality for Rust arrays.\n\n[Documentation](https://docs.rs/array_ext)\n\n## Examples\n\nThe trait `Array` provides fixed-size array generics:\n\n```rust\nuse array_ext::Array;\n\nfn average\u003cT: Array\u003cf32\u003e\u003e(arr: T) -\u003e f32\n{\n    let n = arr.len() as f32;\n    arr.foldl(0.0, |acc, val| acc + val) / n\n}\n\nassert!((average([8.96, 3.14, 17.9]) - 10.0).abs() \u003c f32::EPSILON);\n```\nSome methods, like `zip_with`, are provided by the sized `ArrayN` trait that allows doing full\n`[T; N] -\u003e [U; N]` mapping. The base `Array` trait can only do `[T; N] -\u003e [T; N]` mapping.\n\nThis was originally made as workaround for the lack of const generics, but since v0.4 everything\nis implemented using const generics.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolfiestyle%2Farray_ext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwolfiestyle%2Farray_ext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolfiestyle%2Farray_ext/lists"}