-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
80 lines (71 loc) · 1.32 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[package]
name = "decorum"
version = "0.4.0"
edition = "2021"
rust-version = "1.70.0"
license = "MIT"
readme = "README.md"
authors = ["Sean Olson <olson.sean.k@gmail.com>"]
repository = "https://github.com/olson-sean-k/decorum"
description = "Total ordering, equivalence, hashing, and constraints for floating-point types."
keywords = [
"finite",
"float",
"hash",
"nan",
"ordering",
]
categories = [
"mathematics",
"no-std",
"rust-patterns",
]
[package.metadata.docs.rs]
all-features = true
# Enable KaTeX support.
rustdoc-args = [
"--html-in-header",
"doc/katex-header.html",
]
[features]
default = [
"approx",
"serde",
"std",
]
serde = [
"dep:serde",
"dep:serde_derive",
]
std = [
"approx/std",
"num-traits/std",
"serde/std",
"thiserror/std",
]
unstable = []
[dependencies.approx]
version = "^0.5.0"
default-features = false
features = []
optional = true
[dependencies.num-traits]
version = "^0.2.0"
default-features = false
features = []
[dependencies.serde]
version = "1.0"
default-features = false
optional = true
[dependencies.serde_derive]
version = "1.0"
default-features = false
optional = true
[dependencies.thiserror]
version = "^2.0.0"
default-features = false
[build-dependencies]
rustversion = "^1.0.3"
[dev-dependencies]
num = "^0.4.0"
serde_json = "1.0"