[
  {
    "sourcePath": "README.md",
    "sha256": "97852fca5cb6bcabfa438404355bd13cb45b228a1527f0e441b05161b6704f03",
    "text": "# dlmalloc-rs\n\nA port of [dlmalloc] to Rust.\n\n[Documentation](https://docs.rs/dlmalloc)\n\n[dlmalloc]: https://gee.cs.oswego.edu/dl/html/malloc.html\n\n## Why dlmalloc?\n\nThis crate is a port of [dlmalloc] to Rust, and doesn't rely on C. The primary\npurpose of this crate is to serve as the default allocator for Rust on the\n`wasm32-unknown-unknown` target. At the time this was written the wasm target\ndidn't support C code, so it was required to have a Rust-only solution.\n\nThis allocator is not the most performant by a longshot. It is primarily, I\nthink, intended for being easy to port and easy to learn. I didn't dive too deep\ninto the implementation when writing it, it's just a straight port of the C\nversion.\n\nIt's unlikely that Rust code needs to worry/interact with this allocator in\ngeneral. Most of the time you'll be manually switching to a different allocator\n:)\n\n# License\n\nThis project is licensed under either of\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or\n   http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or\n   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 this project by you, as defined in the Apache-2.0 license,\nshall be dual licensed as above, without any additional terms or conditions.\n"
  }
]
