{"id":29210645,"url":"https://github.com/embarkstudios/rpmalloc-rs","last_synced_at":"2025-07-02T21:07:25.040Z","repository":{"id":41562697,"uuid":"164225929","full_name":"EmbarkStudios/rpmalloc-rs","owner":"EmbarkStudios","description":"🐏 rpmalloc global memory allocator for Rust 🦀","archived":false,"fork":false,"pushed_at":"2025-03-12T14:51:19.000Z","size":66,"stargazers_count":148,"open_issues_count":3,"forks_count":15,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-06-20T01:50:38.083Z","etag":null,"topics":["memory-allocation","rpmalloc","rust","rust-crate"],"latest_commit_sha":null,"homepage":"http://embark.rs","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/EmbarkStudios.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-05T15:14:41.000Z","updated_at":"2025-06-19T19:36:45.000Z","dependencies_parsed_at":"2024-06-20T21:58:21.037Z","dependency_job_id":"9cb990d3-77bf-458b-b256-20fb6b931d36","html_url":"https://github.com/EmbarkStudios/rpmalloc-rs","commit_stats":{"total_commits":63,"total_committers":8,"mean_commits":7.875,"dds":0.2222222222222222,"last_synced_commit":"ffd0ef7ac62393d091380b97ca55eafe53a0633e"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/EmbarkStudios/rpmalloc-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmbarkStudios%2Frpmalloc-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmbarkStudios%2Frpmalloc-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmbarkStudios%2Frpmalloc-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmbarkStudios%2Frpmalloc-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EmbarkStudios","download_url":"https://codeload.github.com/EmbarkStudios/rpmalloc-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmbarkStudios%2Frpmalloc-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263215299,"owners_count":23431895,"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":["memory-allocation","rpmalloc","rust","rust-crate"],"created_at":"2025-07-02T21:07:24.178Z","updated_at":"2025-07-02T21:07:25.015Z","avatar_url":"https://github.com/EmbarkStudios.png","language":"Rust","readme":"\u003c!-- Allow this file to not have a first line heading --\u003e\n\u003c!-- markdownlint-disable-file MD041 --\u003e\n\n\u003c!-- inline html --\u003e\n\u003c!-- markdownlint-disable-file MD033 --\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n\u003c!--- FIXME: Pick an emoji and name your project! ---\u003e\n# `🐏 rpmalloc-rs`\n\n\u003c!--- FIXME: Write short catchy description/tagline of project ---\u003e\n**Cross-platform Rust global memory allocator using [rpmalloc](https://github.com/rampantpixels/rpmalloc).**\n\n[![Embark](https://img.shields.io/badge/embark-open%20source-blueviolet.svg)](https://embark.dev)\n[![Embark](https://img.shields.io/badge/discord-ark-%237289da.svg?logo=discord)](https://discord.gg/dAuKfZS)\n[![Crates.io](https://img.shields.io/crates/v/rpmalloc.svg)](https://crates.io/crates/rpmalloc)\n[![Docs](https://docs.rs/rpmalloc/badge.svg)](https://docs.rs/rpmalloc)\n[![dependency status](https://deps.rs/repo/github/EmbarkStudios/rpmalloc-rs/status.svg)](https://deps.rs/repo/github/EmbarkStudios/rpmalloc-rs)\n[![Build Status](https://github.com/EmbarkStudios/rpmalloc-rs/workflows/CI/badge.svg)](https://github.com/EmbarkStudios/rpmalloc-rs/actions?workflow=CI)\n\n\u003c/div\u003e\n\n## Overview\n\nSee the [rpmalloc README](https://github.com/mjansson/rpmalloc/blob/master/README.md) for a detailed description of how the allocator works, peforms, and compares with other allocators.\n\n## How to use\n\nTo use rpmalloc as the global allocator in your Rust binary crate, in `Cargo.toml` add:\n\n```toml\n[dependencies]\nrpmalloc = \"0.2.0\"\n```\n\nAnd then in one of your `.rs` files:\n\n```rust\n#[global_allocator]\nstatic ALLOC: rpmalloc::RpMalloc = rpmalloc::RpMalloc;\n```\n\n### Configuration\n\nIt is also possible to configure how the allocator should be built through a set of feature flags that correspond to the rpmalloc C library `ENABLE_x` defines:\n\n- Overall: `statistics`, `validate_args`, `asserts`, `guards`\n- Cache: `unlimited_cache`, `unlimited_global_cache`, `unlimited_thread_cache`, `global_cache`, `thread_cache`, `adaptive_thread_cache`\n\nExample usage:\n\n```toml\n[dependencies]\nrpmalloc = { version = \"0.2.0\", features = [\"guards\", \"statistics\"] }\n```\n\nSee [rpmalloc README](https://github.com/mjansson/rpmalloc/blob/master/README.md) for detailed descriptions of the config options.\n\nNote that all of these have not been tested together with this Rust crate.\n\n## Support\n\nThis crate has been tested to support the following platforms and Rust targets:\n\n- `x86_64-pc-windows-msvc`\n- `x86_64-apple-darwin`\n- `x86_64-unknown-linux-gnu`\n\nPRs to increase the amount of supported targets are welcome, but they should add CI verification and avoid adding additional dependencies.\n\n## Contributing\n\n[![Contributor Covenant](https://img.shields.io/badge/contributor%20covenant-v1.4-ff69b4.svg)](../CODE_OF_CONDUCT.md)\n\nWe welcome community contributions to this project.\n\nPlease read our [Contributor Guide](CONTRIBUTING.md) for more information on how to get started.\n\n## License\n\nLicensed under either of\n\n* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\nNote that the [rpmalloc](https://github.com/rampantpixels/rpmalloc) library this crate uses is under public domain, and can also be licensed under MIT.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembarkstudios%2Frpmalloc-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fembarkstudios%2Frpmalloc-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembarkstudios%2Frpmalloc-rs/lists"}