1 | [package] |
2 | name = "strict-num" |
3 | version = "0.1.1" |
4 | authors = ["Yevhenii Reizner <razrfalcon@gmail.com>" ] |
5 | license = "MIT" |
6 | description = "A collection of bounded numeric types" |
7 | repository = "https://github.com/RazrFalcon/strict-num" |
8 | documentation = "https://docs.rs/strict-num/" |
9 | categories = ["mathematics" , "no-std" ] |
10 | readme = "README.md" |
11 | edition = "2018" |
12 | |
13 | [dependencies] |
14 | float-cmp = { version = "0.9" , default-features = false, features = ["std" ], optional = true } |
15 | |
16 | [features] |
17 | default = ["approx-eq" ] |
18 | |
19 | # Implements `ApproxEq` and `ApproxEqUlps` traits for floating point numbers |
20 | # via the `float-cmp` crate. |
21 | # Disables `no_std`. |
22 | approx-eq = ["float-cmp" ] |
23 | |