jemalloc/jemalloc has slow pace on releasing new versions. Users may want to use a more cutting edge version that are only available on dev branch. To solve the problem, we may decouple this project from jemalloc source. So the dependency graph becomes:
jemalloc -> jemalloc-sys -> jemalloc-source
jemalloc-source will provide the source directory to source code and a build method to build the library.
And add a new package jemalloc-dev-source that can be a dropped-in jemalloc-source alternative that contains source code from dev branch. Users are expected to use cargo patch to override it.
jemalloc/jemalloc has slow pace on releasing new versions. Users may want to use a more cutting edge version that are only available on dev branch. To solve the problem, we may decouple this project from jemalloc source. So the dependency graph becomes:
jemalloc -> jemalloc-sys -> jemalloc-source
jemalloc-source will provide the source directory to source code and a build method to build the library.
And add a new package jemalloc-dev-source that can be a dropped-in jemalloc-source alternative that contains source code from dev branch. Users are expected to use cargo patch to override it.