Skip to content

Commit

Permalink
Update dependency com_github_fmtlib_fmt to v11 (#350)
Browse files Browse the repository at this point in the history
* Update dependency com_github_fmtlib_fmt to v11

* Fix

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: anakinxc <[email protected]>
  • Loading branch information
renovate[bot] and anakinxc authored Aug 16, 2024
1 parent 014c642 commit ddf3469
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
6 changes: 3 additions & 3 deletions bazel/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,11 @@ def _com_github_fmtlib_fmt():
maybe(
http_archive,
name = "com_github_fmtlib_fmt",
strip_prefix = "fmt-10.2.1",
sha256 = "1250e4cc58bf06ee631567523f48848dc4596133e163f02615c97f78bab6c811",
strip_prefix = "fmt-11.0.2",
sha256 = "6cb1e6d37bdcb756dbbe59be438790db409cdb4868c66e888d5df9f13f7c027f",
build_file = "@yacl//bazel:fmtlib.BUILD",
urls = [
"https://github.com/fmtlib/fmt/archive/refs/tags/10.2.1.tar.gz",
"https://github.com/fmtlib/fmt/archive/refs/tags/11.0.2.tar.gz",
],
)

Expand Down
4 changes: 1 addition & 3 deletions yacl/crypto/experimental/tpre/kdf_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@

#include "yacl/crypto/experimental/tpre/kdf.h"

#include <iostream>
#include <string>

#include "gtest/gtest.h"
#include "fmt/ranges.h"

namespace yacl::crypto::test {

Expand Down
5 changes: 1 addition & 4 deletions yacl/io/rw/csv_writer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,12 @@

#include "yacl/io/rw/csv_writer.h"

#include <algorithm>
#include <cmath>
#include <cstdio>
#include <filesystem>
#include <iterator>
#include <string>
#include <utility>

#include "fmt/format.h"
#include "fmt/ranges.h"

#include "yacl/base/exception.h"
#include "yacl/io/rw/float.h"
Expand Down
1 change: 1 addition & 0 deletions yacl/utils/spi/argument/arg_set.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// limitations under the License.

#include "yacl/utils/spi/argument/arg_set.h"
#include "fmt/ranges.h"

// formatter to format SpiArgs values
template <>
Expand Down
1 change: 1 addition & 0 deletions yacl/utils/spi/item.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "yacl/utils/spi/item.h"

#include "yacl/math/mpint/mp_int.h"
#include "fmt/ranges.h"

namespace yacl {

Expand Down

0 comments on commit ddf3469

Please sign in to comment.