cargo / typenum / audit
cargo : typenum @ 1.20.0
PE Patrick Elsen signed 2026-05-27 published 2026-05-27

Cargo.toml

80 lines · toml · 1 line annotation

# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO## When uploading crates to the registry Cargo will automatically# "normalize" Cargo.toml files for maximal compatibility# with all versions of Cargo and also rewrite `path` dependencies# to registry (e.g., crates.io) dependencies.## If you are reading this file be aware that the original Cargo.toml# will likely look very different (and much more reasonable).# See Cargo.toml.orig for the original contents.[package]edition = "2018"rust-version = "1.41.0"name = "typenum"version = "1.20.0"authors = [    "Paho Lurie-Gregg <paho@paholg.com>",
    "Andre Bogus <bogusandre@gmail.com>",]build = falseexclude = [    "/.github/",    "/clippy.toml",    "/flake.lock",    "/flake.nix",    "/justfile",    "/.envrc",]autolib = false
Line 19–30

build = false explicitly disables build-script compilation. The CHANGELOG records that the previous build.rs was removed in 1.18.0 and the build output was checked in instead; 1.20.0's CHANGELOG entry repeats this. The published archive contains no build.rs. The exclude list filters .github/, flake.*, justfile, and clippy.toml from the package. The crate is a library (no [[bin]]) with no procedural-macro declaration. Justifies has-build-exec and has-install-exec.

autobins = falseautoexamples = falseautotests = falseautobenches = falsedescription = """Typenum is a Rust library for type-level numbers evaluated at    compile time. It currently supports bits, unsigned integers, and signed    integers. It also provides a type-level array of type-level numbers, but its    implementation is incomplete."""documentation = "https://docs.rs/typenum"readme = "README.md"categories = ["no-std"]license = "MIT OR Apache-2.0"repository = "https://github.com/paholg/typenum"[package.metadata.docs.rs]features = [    "i128",    "const-generics",]rustdoc-args = [    "--cfg",    "docsrs",][package.metadata.playground]features = [    "i128",    "const-generics",][features]const-generics = []i128 = []scale_info = ["scale-info/derive"]strict = [][lib]name = "typenum"path = "src/lib.rs"[[test]]name = "generated"path = "tests/generated.rs"[dependencies.scale-info]version = "1.0"optional = truedefault-features = false