{"id":18443196,"url":"https://github.com/mkroening/free-list","last_synced_at":"2025-10-09T23:33:08.810Z","repository":{"id":238852949,"uuid":"797768655","full_name":"mkroening/free-list","owner":"mkroening","description":"A free-list-based page/frame allocator.","archived":false,"fork":false,"pushed_at":"2025-08-18T10:06:13.000Z","size":60,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-23T02:24:10.492Z","etag":null,"topics":["allocator","frame","free-list","memory","page","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/free-list","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/mkroening.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"zenodo":null}},"created_at":"2024-05-08T13:32:14.000Z","updated_at":"2025-08-18T10:06:09.000Z","dependencies_parsed_at":"2025-07-01T08:45:09.631Z","dependency_job_id":null,"html_url":"https://github.com/mkroening/free-list","commit_stats":null,"previous_names":["mkroening/free-list"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mkroening/free-list","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkroening%2Ffree-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkroening%2Ffree-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkroening%2Ffree-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkroening%2Ffree-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkroening","download_url":"https://codeload.github.com/mkroening/free-list/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkroening%2Ffree-list/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002311,"owners_count":26083340,"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-10-09T02:00:07.460Z","response_time":59,"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":["allocator","frame","free-list","memory","page","rust"],"created_at":"2024-11-06T06:46:36.829Z","updated_at":"2025-10-09T23:33:08.795Z","avatar_url":"https://github.com/mkroening.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# free-list\n\n[![Crates.io](https://img.shields.io/crates/v/free-list)](https://crates.io/crates/free-list)\n[![docs.rs](https://img.shields.io/docsrs/free-list)](https://docs.rs/free-list)\n[![CI](https://github.com/mkroening/free-list/actions/workflows/ci.yml/badge.svg)](https://github.com/mkroening/free-list/actions/workflows/ci.yml)\n\nThis crate provides the [`FreeList`] type to allocate pages/frames of virtual/physical memory:\n\n```rust\nuse free_list::{FreeList, PageLayout};\n\nlet mut free_list = FreeList::\u003c16\u003e::new();\n\nunsafe {\n    free_list.deallocate((0x1000..0x5000).try_into().unwrap()).unwrap();\n}\nassert_eq!(free_list.free_space(), 0x4000);\n\nlet layout = PageLayout::from_size(0x4000).unwrap();\nassert_eq!(free_list.allocate(layout).unwrap(), (0x1000..0x5000).try_into().unwrap());\n```\n\nFor API documentation, see the [docs].\n\n[`FreeList`]: https://docs.rs/free-list/latest/free_list/struct.FreeList.html\n[docs]: https://docs.rs/free-list\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0\n   ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license\n   ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkroening%2Ffree-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkroening%2Ffree-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkroening%2Ffree-list/lists"}