| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.37.0" |
| 15 |
name = "typenum" |
| 16 |
version = "1.19.0" |
| 17 |
authors = [ |
| 18 |
"Paho Lurie-Gregg <[email protected]>", |
| 19 |
"Andre Bogus <[email protected]>", |
| 20 |
] |
| 21 |
build = "build.rs" |
| 22 |
exclude = [ |
| 23 |
"/.github/", |
| 24 |
"/clippy.toml", |
| 25 |
"/flake.lock", |
| 26 |
"/flake.nix", |
| 27 |
"/justfile", |
| 28 |
"/.envrc", |
| 29 |
] |
| 30 |
autolib = false |
| 31 |
autobins = false |
| 32 |
autoexamples = false |
| 33 |
autotests = false |
| 34 |
autobenches = false |
| 35 |
description = """ |
| 36 |
Typenum is a Rust library for type-level numbers evaluated at |
| 37 |
compile time. It currently supports bits, unsigned integers, and signed |
| 38 |
integers. It also provides a type-level array of type-level numbers, but its |
| 39 |
implementation is incomplete.""" |
| 40 |
documentation = "https://docs.rs/typenum" |
| 41 |
readme = "README.md" |
| 42 |
categories = ["no-std"] |
| 43 |
license = "MIT OR Apache-2.0" |
| 44 |
repository = "https://github.com/paholg/typenum" |
| 45 |
|
| 46 |
[package.metadata.docs.rs] |
| 47 |
features = [ |
| 48 |
"i128", |
| 49 |
"const-generics", |
| 50 |
] |
| 51 |
rustdoc-args = [ |
| 52 |
"--cfg", |
| 53 |
"docsrs", |
| 54 |
] |
| 55 |
|
| 56 |
[package.metadata.playground] |
| 57 |
features = [ |
| 58 |
"i128", |
| 59 |
"const-generics", |
| 60 |
] |
| 61 |
|
| 62 |
[features] |
| 63 |
const-generics = [] |
| 64 |
force_unix_path_separator = [] |
| 65 |
i128 = [] |
| 66 |
no_std = [] |
| 67 |
scale_info = ["scale-info/derive"] |
| 68 |
strict = [] |
| 69 |
|
| 70 |
[lib] |
| 71 |
name = "typenum" |
| 72 |
path = "src/lib.rs" |
| 73 |
|
| 74 |
[[test]] |
| 75 |
name = "test" |
| 76 |
path = "tests/test.rs" |
| 77 |
|
| 78 |
[dependencies.scale-info] |
| 79 |
version = "1.0" |
| 80 |
optional = true |
| 81 |
default-features = false |