# 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 = false
exclude = [
    "/.envrc",
    "/.github/",
    "/clippy.toml",
    "/flake.lock",
    "/flake.nix",
    "/justfile",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
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 = true
default-features = false
