{"id":13578376,"url":"https://github.com/purpleprotocol/mimalloc_rust","last_synced_at":"2025-05-13T22:05:48.259Z","repository":{"id":34979220,"uuid":"193500153","full_name":"purpleprotocol/mimalloc_rust","owner":"purpleprotocol","description":"A Rust wrapper over Microsoft's MiMalloc memory allocator","archived":false,"fork":false,"pushed_at":"2025-05-09T15:52:11.000Z","size":183,"stargazers_count":588,"open_issues_count":26,"forks_count":53,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-05-09T16:46:07.553Z","etag":null,"topics":["allocator","mimalloc","rust"],"latest_commit_sha":null,"homepage":"","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/purpleprotocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2019-06-24T12:22:49.000Z","updated_at":"2025-05-09T15:52:15.000Z","dependencies_parsed_at":"2024-06-09T20:29:00.867Z","dependency_job_id":"a304d713-51a8-40e6-a03d-abbb0e844911","html_url":"https://github.com/purpleprotocol/mimalloc_rust","commit_stats":{"total_commits":152,"total_committers":24,"mean_commits":6.333333333333333,"dds":"0.45394736842105265","last_synced_commit":"859fbc1c4e585544f4e33cec8849b21f2795e207"},"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purpleprotocol%2Fmimalloc_rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purpleprotocol%2Fmimalloc_rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purpleprotocol%2Fmimalloc_rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purpleprotocol%2Fmimalloc_rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/purpleprotocol","download_url":"https://codeload.github.com/purpleprotocol/mimalloc_rust/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254036817,"owners_count":22003653,"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":["allocator","mimalloc","rust"],"created_at":"2024-08-01T15:01:30.020Z","updated_at":"2025-05-13T22:05:43.241Z","avatar_url":"https://github.com/purpleprotocol.png","language":"Rust","readme":"# Mimalloc Rust\n\n[![Latest Version]][crates.io] [![Documentation]][docs.rs]\n\nA drop-in global allocator wrapper around the [mimalloc](https://github.com/microsoft/mimalloc) allocator.\nMimalloc is a general purpose, performance oriented allocator built by Microsoft.\n\n## Usage\n\n```rust\nuse mimalloc::MiMalloc;\n\n#[global_allocator]\nstatic GLOBAL: MiMalloc = MiMalloc;\n```\n\n## Requirements\n\nA __C__ compiler is required for building [mimalloc](https://github.com/microsoft/mimalloc) with cargo.\n\n## Usage with secure mode\n\nUsing secure mode adds guard pages,\nrandomized allocation, encrypted free lists, etc. The performance penalty is usually\naround 10% according to [mimalloc](https://github.com/microsoft/mimalloc)\nown benchmarks.\n\nTo enable secure mode, put in `Cargo.toml`:\n\n```ini\n[dependencies]\nmimalloc = { version = \"*\", features = [\"secure\"] }\n```\n\n[crates.io]: https://crates.io/crates/mimalloc\n[Latest Version]: https://img.shields.io/crates/v/mimalloc.svg\n[Documentation]: https://docs.rs/mimalloc/badge.svg\n[docs.rs]: https://docs.rs/mimalloc\n","funding_links":[],"categories":["Rust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurpleprotocol%2Fmimalloc_rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpurpleprotocol%2Fmimalloc_rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurpleprotocol%2Fmimalloc_rust/lists"}