[package]
name = "rust"
version = "1.99.0"
release = 1
description = "Rust compiler, standard library, cargo, clippy and rustfmt"
url = "https://www.rust-lang.org/"
license = ["Apache-2.0 OR MIT", "Apache-2.0 WITH LLVM-exception"]
arch = "x86_64"

[dependencies]
# cc is rustc's default linker driver; it calls rust-lld (shipped here) or ld.
runtime = ["glibc", "gcc", "binutils", "zlib"]
build = ["python", "cmake", "ninja", "perl", "pkgconf", "zlib"]
provides = ["cargo", "rustfmt", "clippy"]
conflicts = []

[install]
backup = []

[options]
# lpm's strip would also run over the .rlib archives; package() strips only the
# executables and shared libraries.
strip = false

# Signature rustc-1.99.0-src.tar.xz.asc checked (gpg: "Good signature") against the
# Rust release key 108F 6620 5EAE B0AA A8DD 5E1C 85AB 96E6 FA1B E5FE, which matched
# the copy in Debian's rustc package (fetched via the signed Ubuntu archive).
[[source]]
url = "https://static.rust-lang.org/dist/rustc-1.99.0-src.tar.xz"
sha256 = "cc41916a8c84f5d9ec4f55561b44e39f43b647b133f8a6f51be9ea13c83f7036"

# Stage 0 (the previous stable compiler that bootstrap builds with): the files and
# sha256 listed in src/stage0 of the signed source tarball above.  prepare() puts them
# in bootstrap's download cache, so the build needs no network.
[[source]]
url = "https://static.rust-lang.org/dist/2026-08-20/rustc-1.98.0-x86_64-unknown-linux-gnu.tar.xz"
sha256 = "0e37cb339f447fc44d6d781073bacacebfdc5612f2600e4c7e84c266f5f3aced"
extract = false

[[source]]
url = "https://static.rust-lang.org/dist/2026-08-20/rust-std-1.98.0-x86_64-unknown-linux-gnu.tar.xz"
sha256 = "f5022e6c95a5ad23cca2513dc8281200f585fa188de6370aa37b128a43f876a3"
extract = false

[[source]]
url = "https://static.rust-lang.org/dist/2026-08-20/cargo-1.98.0-x86_64-unknown-linux-gnu.tar.xz"
sha256 = "2f512d170d3dd23e16ababcda32ee2e6d5172d861a7af1f504e0b1e270cafab9"
extract = false

[build]
builddate = 1791568923
installed_size = 742855102
lpm_version = "0.9.9"
