1[package]
2name = "typenum"
3build = "build/main.rs"
4version = "1.17.0" # remember to update html_root_url
5authors = [
6 "Paho Lurie-Gregg <paho@paholg.com>",
7 "Andre Bogus <bogusandre@gmail.com>",
8]
9documentation = "https://docs.rs/typenum"
10repository = "https://github.com/paholg/typenum"
11readme = "README.md"
12license = "MIT OR Apache-2.0"
13description = """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."""
17categories = ["no-std"]
18edition = "2018"
19rust-version = "1.37.0"
20
21[dependencies]
22scale-info = { version = "1.0", default-features = false, optional = true }
23
24[lib]
25name = "typenum"
26
27[features]
28no_std = [] # Deprecated
29i128 = []
30strict = []
31force_unix_path_separator = [] # Deprecated
32const-generics = []
33scale_info = ["scale-info/derive"]
34
35[package.metadata.docs.rs]
36features = ["i128", "const-generics"]
37rustdoc-args = ["--cfg", "docsrs"]
38
39[package.metadata.playground]
40features = ["i128", "const-generics"]
41