The bazel coverage feature is currently not working for libraries consisting only of header files such as the nlohman_json library (see github issue.) Until the bazel coverage issue is resolved, we calculate the coverage with CMAKE as in the original nlohman_json library.