1 | [package] |
2 | name = "float-cmp" |
3 | version = "0.9.0" |
4 | authors = ["Mike Dilger <mike@mikedilger.com>" ] |
5 | description = "Floating point approximate comparison traits" |
6 | repository = "https://github.com/mikedilger/float-cmp" |
7 | documentation = "https://docs.rs/float-cmp" |
8 | readme = "README.md" |
9 | keywords = [ "float" , "comparison" , "fuzzy" , "approximate" , "no_std" ] |
10 | license = "MIT" |
11 | edition = "2018" |
12 | |
13 | [lib] |
14 | name = "float_cmp" |
15 | path = "src/lib.rs" |
16 | test = true |
17 | doctest = true |
18 | doc = true |
19 | |
20 | [features] |
21 | default = [ "ratio" ] |
22 | ratio = [ "num-traits" ] |
23 | std = [ ] |
24 | |
25 | [dependencies] |
26 | num-traits = { version = "0.2.1" , default-features = false, optional = true } |
27 | |