diff --git a/BUILD.bazel b/BUILD.bazel index 574d167..8bfebdd 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -10,3 +10,13 @@ cc_test( srcs = ["tests/unit.cpp"], deps = [":fast_double_parser"], ) + +cc_binary( + name = "benchmark", + srcs = ["benchmarks/benchmark.cpp"], + deps = [ + ":fast_double_parser", + "@abseil-cpp//absl/strings", + "@double-conversion", + ], +) diff --git a/MODULE.bazel b/MODULE.bazel index 62b049b..a7920b3 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -5,3 +5,6 @@ module( version = "0.8.0", compatibility_level = 0, ) + +bazel_dep(name = "abseil-cpp", version = "20240722.0", dev_dependency = True) +bazel_dep(name = "double-conversion", version = "3.3.0", dev_dependency = True)