forked from paholg/typenum
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
34 lines (31 loc) · 1.22 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[package]
name = "substrate-typenum"
build = "build/main.rs"
version = "1.16.0" # remember to update html_root_url
authors = [
"Paho Lurie-Gregg <[email protected]>",
"Andre Bogus <[email protected]>",
"Encointer Association <[email protected]>",
]
documentation = "https://docs.rs/typenum"
repository = "https://github.com/encointer/typenum"
readme = "README.md"
license = "MIT OR Apache-2.0"
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.
This substrate-typenum fork just adds SCALE codec derive for use with substrate"""
categories = ["no-std"]
edition = "2018"
[lib]
name = "substrate_typenum"
[dependencies]
scale-info = { version = "2.5.0", default-features = false, features = ["derive"], optional = true }
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["derive", "max-encoded-len"], optional = true }
[features]
derive_scale = ["scale-info", "parity-scale-codec"]
no_std = []
i128 = []
strict = []
force_unix_path_separator = []