{"id":18282841,"url":"https://github.com/intjelic/ingrid","last_synced_at":"2025-08-23T00:08:48.542Z","repository":{"id":62440890,"uuid":"233692004","full_name":"intjelic/ingrid","owner":"intjelic","description":"Dynamic two-dimensional arrays for the Rust programming language.","archived":false,"fork":false,"pushed_at":"2020-01-13T22:05:22.000Z","size":31,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-03T11:16:28.684Z","etag":null,"topics":["2d","algorithm","array","cell","column","grid","row","rust"],"latest_commit_sha":null,"homepage":"https://intjelic.me/project/ingrid","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/intjelic.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":"2020-01-13T20:56:59.000Z","updated_at":"2020-11-18T11:52:31.000Z","dependencies_parsed_at":"2022-11-01T21:53:54.698Z","dependency_job_id":null,"html_url":"https://github.com/intjelic/ingrid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/intjelic/ingrid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intjelic%2Fingrid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intjelic%2Fingrid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intjelic%2Fingrid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intjelic%2Fingrid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intjelic","download_url":"https://codeload.github.com/intjelic/ingrid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intjelic%2Fingrid/sbom","scorecard":{"id":491729,"data":{"date":"2025-08-11","repo":{"name":"github.com/intjelic/ingrid","commit":"6f5fa4e99da8b165c5cabdce97b0b57e924cfed9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/2 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-19T19:20:32.620Z","repository_id":62440890,"created_at":"2025-08-19T19:20:32.620Z","updated_at":"2025-08-19T19:20:32.620Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271722192,"owners_count":24809660,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["2d","algorithm","array","cell","column","grid","row","rust"],"created_at":"2024-11-05T13:06:23.538Z","updated_at":"2025-08-23T00:08:48.494Z","avatar_url":"https://github.com/intjelic.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ingrid\n\nIngrid is a self-contained crate that provides a STL-like container for dynamic two-dimensional arrays for the Rust programming language. It comes with\nalgorithms and it's expected to be generic and good enough for most use cases;\nit was initially written to implement image pixels and grid-based games.\n\n**Features**\n\n- A concise dynamic grid structure\n- Slice-like rows and columns\n- Useful set of iterators and adaptors\n- Smart implementation with capacity-like feature\n- Ready-to-use common algorithms\n- Complete code coverage\n- Extensively documented\n\nIt's distributed under the MIT license. Feel free to use the way you like as\nlong as you keep the license around if you reuse the code.\n\n## Quick preview\n\nTo get a rough idea of what it is like to work with **Ingrid**, have a look at\nthe following snipped.\n\n```rust\nuse ingrid::{Coordinate, Size};\nuse ingrid::Grid;\nuse ingrid::GridIterator;\nuse ingrid::{coord, size}; // Macros to shorten the syntax\n\n// Create a grid with enough allocated memory to contain 9 elements.\nlet mut grid = Grid::\u003cchar\u003e::with_capacity(size!(3, 3));\n\n// Resize the grid to be 2x2 and fill it with a default value.\ngrid.resize(size!(2, 3), '😞');\n\n// Change the content of the grid with the direct accessors.\ngrid[coord!(0, 0)] = '😄'; // Top-left element (first element)\ngrid[coord!(1, 2)] = '😄'; // Bottom-right element (last element)\n\n// Insert a column right in the middle.\ngrid.insert_column(1, vec!['😮', '😮', '😮']);\n\n// Iterate over the elements of the last row\nfor (coordinate, emoticon) in grid.row(2).iterator().enumerate_coordinate() {\n    println!(\"Emoticon at {:?} is {}\", coordinate, emoticon);\n}\n```\n\nNext step is to dig in the documentation, which comes with an excellent\nintroduction by the way.\n\n## More information\n\n**Website:** https://www.intjelic.me/project/ingrid\n**Repository:** https://github.com/intjelic/ingrid\n**Crate:** https://crates.io/crates/ingrid\n**Documentation:** https://docs.rs/ingrid\n**Author:** Jonahan De Wachter (dewachter.jonathan[at]gmail[dot]com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintjelic%2Fingrid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintjelic%2Fingrid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintjelic%2Fingrid/lists"}