Benchee is a wonderful benchmarking tool, and one of the formatters for this tool, benchee_html, has a dependency on Poison to do some JSON encoding for us. However, the maintainer of Poison would like to use Benchee to benchmark his library.
Now, this would be easily solved if we made the dependency on Poison optional in Benchee, but due to some UX worries (mainly users having to put two dependencies in their
mix.exs file instead one just
benchee), I’d like to avoid that.
Can anyone think of any other way that we can make this circular dependency not an issue to Poison can easily use a library that depends on it? I’ve tried having Poision override the dependency on itself in benchee_html, but that doesn’t seem to work.