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