cargo : typenum @ 1.20.1
Cargo.toml
76 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.1"build = falseexclude = [ "/.envrc",Line 12–19
build = false and no build.rs in the crate root: no compile-time code execution on downstream consumers. The lib section sets no proc-macro = true; the crate is a normal library. Justifies has-build-exec and has-install-exec.
The CHANGELOG records that the build.rs was removed in 1.18.0 and the test-generation build.rs was removed in 1.20.0 in favour of checking the generated files into the source tree (now src/gen/* and tests/generated.rs).
"/.github/", "/clippy.toml", "/flake.lock", "/flake.nix", "/justfile",]autolib = falseautobins = 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