| 1 |
[package] |
| 2 |
name = "typenum" |
| 3 |
build = "build/main.rs" |
| 4 |
version = "1.17.0" # remember to update html_root_url |
| 5 |
authors = [ |
| 6 |
"Paho Lurie-Gregg <[email protected]>", |
| 7 |
"Andre Bogus <[email protected]>", |
| 8 |
] |
| 9 |
documentation = "https://docs.rs/typenum" |
| 10 |
repository = "https://github.com/paholg/typenum" |
| 11 |
readme = "README.md" |
| 12 |
license = "MIT OR Apache-2.0" |
| 13 |
description = """Typenum is a Rust library for type-level numbers evaluated at |
| 14 |
compile time. It currently supports bits, unsigned integers, and signed |
| 15 |
integers. It also provides a type-level array of type-level numbers, but its |
| 16 |
implementation is incomplete.""" |
| 17 |
categories = ["no-std"] |
| 18 |
edition = "2018" |
| 19 |
rust-version = "1.37.0" |
| 20 |
|
| 21 |
[dependencies] |
| 22 |
scale-info = { version = "1.0", default-features = false, optional = true } |
| 23 |
|
| 24 |
[lib] |
| 25 |
name = "typenum" |
| 26 |
|
| 27 |
[features] |
| 28 |
no_std = [] # Deprecated |
| 29 |
i128 = [] |
| 30 |
strict = [] |
| 31 |
force_unix_path_separator = [] # Deprecated |
| 32 |
const-generics = [] |
| 33 |
scale_info = ["scale-info/derive"] |
| 34 |
|
| 35 |
[package.metadata.docs.rs] |
| 36 |
features = ["i128", "const-generics"] |
| 37 |
rustdoc-args = ["--cfg", "docsrs"] |
| 38 |
|
| 39 |
[package.metadata.playground] |
| 40 |
features = ["i128", "const-generics"] |