chromium/third_party/rust/itertools/v0_11/BUILD.gn

# Copyright 2023 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# @generated from third_party/rust/chromium_crates_io/BUILD.gn.hbs by
# tools/crates/gnrt.
# Do not edit!

import("//build/rust/cargo_crate.gni")

cargo_crate("lib") {
  crate_name = "itertools"
  epoch = "0.11"
  crate_type = "rlib"
  crate_root =
      "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/lib.rs"
  sources = [
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/adaptors/coalesce.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/adaptors/map.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/adaptors/mod.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/adaptors/multi_product.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/combinations.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/combinations_with_replacement.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/concat_impl.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/cons_tuples_impl.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/diff.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/duplicates_impl.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/either_or_both.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/exactly_one_err.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/extrema_set.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/flatten_ok.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/format.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/free.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/group_map.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/groupbylazy.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/grouping_map.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/impl_macros.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/intersperse.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/k_smallest.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/kmerge_impl.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/lazy_buffer.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/lib.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/merge_join.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/minmax.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/multipeek_impl.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/pad_tail.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/peek_nth.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/peeking_take_while.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/permutations.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/powerset.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/process_results_impl.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/put_back_n_impl.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/rciter_impl.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/repeatn.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/size_hint.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/sources.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/take_while_inclusive.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/tee.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/tuple_impl.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/unique_impl.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/unziptuple.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/with_position.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/zip_eq_impl.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/zip_longest.rs",
    "//third_party/rust/chromium_crates_io/vendor/itertools-0.11.0/src/ziptuple.rs",
  ]
  inputs = []

  build_native_rust_unit_tests = false
  edition = "2018"
  cargo_pkg_version = "0.11.0"
  cargo_pkg_authors = "bluss"
  cargo_pkg_name = "itertools"
  cargo_pkg_description =
      "Extra iterator adaptors, iterator methods, free functions, and macros."
  library_configs -= [ "//build/config/compiler:chromium_code" ]
  library_configs += [ "//build/config/compiler:no_chromium_code" ]
  executable_configs -= [ "//build/config/compiler:chromium_code" ]
  executable_configs += [ "//build/config/compiler:no_chromium_code" ]
  proc_macro_configs -= [ "//build/config/compiler:chromium_code" ]
  proc_macro_configs += [ "//build/config/compiler:no_chromium_code" ]
  deps = [ "//third_party/rust/either/v1:lib" ]
  features = [
    "use_alloc",
    "use_std",
  ]

  testonly = true
}