<commit_before>class Rust < Formula
  desc "Safe, concurrent, practical language"
  homepage "https://www.rust-lang.org/"

  stable do
    url "https://static.rust-lang.org/dist/rustc-1.29.0-src.tar.gz"
    sha256 "a4eb34ffd47f76afe2abd813f398512d5a19ef00989d37306217c9c9ec2f61e9"

    resource "cargo" do
      url "https://github.com/rust-lang/cargo.git",
          :tag => "0.29.0",
          :revision => "96a2c7d16249cb47c61c887fc95ca8be60e7ef0a"
    end

    resource "racer" do
      # Racer should stay < 2.1 for now as 2.1 needs the nightly build of rust
      # See https://github.com/racer-rust/racer/tree/v2.1.2#installation
      url "https://github.com/racer-rust/racer/archive/2.0.14.tar.gz"
      sha256 "0442721c01ae4465843cb73b24f6caa0127c3308d72b944ad75736164756e522"
    end
  end

  bottle do
    sha256 "5d4480af0b60f5699a557302eed57233872ad70f96375308bec363572255ef48" => :mojave
    sha256 "44d3670ef4aced0d8afe37f51286f7995d050ab8b00917bab6b58e4252b5bb41" => :high_sierra
    sha256 "1bc77afd18b8dcb29e9807731a3d656fa4533231cbccfdc9aa907feb33fa1a06" => :sierra
    sha256 "9cd966cd787a7fefb5cfb5f40c623b71078225e36ebdfdfe770f8f7cacde849b" => :el_capitan
  end

  head do
    url "https://github.com/rust-lang/rust.git"

    resource "cargo" do
      url "https://github.com/rust-lang/cargo.git"
    end

    resource "racer" do
      url "https://github.com/racer-rust/racer.git"
    end
  end

  option "with-llvm", "Build with brewed LLVM. By default, Rust's LLVM will be used."

  depends_on "cmake" => :build
  depends_on "pkg-config"
  depends_on "llvm" => :optional
  depends_on "openssl"
  depends_on "libssh2"

  unless OS.mac?<commit_msg>rust: update 1.29.0 bottle for Linuxbrew.<commit_after>class Rust < Formula
  desc "Safe, concurrent, practical language"
  homepage "https://www.rust-lang.org/"

  stable do
    url "https://static.rust-lang.org/dist/rustc-1.29.0-src.tar.gz"
    sha256 "a4eb34ffd47f76afe2abd813f398512d5a19ef00989d37306217c9c9ec2f61e9"

    resource "cargo" do
      url "https://github.com/rust-lang/cargo.git",
          :tag => "0.29.0",
          :revision => "96a2c7d16249cb47c61c887fc95ca8be60e7ef0a"
    end

    resource "racer" do
      # Racer should stay < 2.1 for now as 2.1 needs the nightly build of rust
      # See https://github.com/racer-rust/racer/tree/v2.1.2#installation
      url "https://github.com/racer-rust/racer/archive/2.0.14.tar.gz"
      sha256 "0442721c01ae4465843cb73b24f6caa0127c3308d72b944ad75736164756e522"
    end
  end

  bottle do
    sha256 "5d4480af0b60f5699a557302eed57233872ad70f96375308bec363572255ef48" => :mojave
    sha256 "44d3670ef4aced0d8afe37f51286f7995d050ab8b00917bab6b58e4252b5bb41" => :high_sierra
    sha256 "1bc77afd18b8dcb29e9807731a3d656fa4533231cbccfdc9aa907feb33fa1a06" => :sierra
    sha256 "9cd966cd787a7fefb5cfb5f40c623b71078225e36ebdfdfe770f8f7cacde849b" => :el_capitan
    sha256 "5e42914650746fee14f9fcdb8f3ed03bb747aa2b84d22b568a35b489e84c57b8" => :x86_64_linux
  end

  head do
    url "https://github.com/rust-lang/rust.git"

    resource "cargo" do
      url "https://github.com/rust-lang/cargo.git"
    end

    resource "racer" do
      url "https://github.com/racer-rust/racer.git"
    end
  end

  option "with-llvm", "Build with brewed LLVM. By default, Rust's LLVM will be used."

  depends_on "cmake" => :build
  depends_on "pkg-config"
  depends_on "llvm" => :optional
  depends_on "openssl"
  depends_on "libssh2"

  unless OS.mac?
{'fraction_non_alphanumeric': 0.10643207383905394, 'fraction_numerical': 0.1889241419094318, 'mean_word_length': 3.692828146143437, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 20, 'https://': 16, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5851100', 'n_tokens_mistral': 1815, 'n_tokens_neox': 1476, 'n_words': 227}