forked from akubera/bigdecimal-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (43 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
[package]
name = "bigdecimal"
version = "0.4.0+dev"
authors = ["Andrew Kubera"]
description = "Arbitrary precision decimal numbers"
documentation = "https://docs.rs/bigdecimal"
homepage = "https://github.com/akubera/bigdecimal-rs"
repository = "https://github.com/akubera/bigdecimal-rs"
keywords = [
"mathematics",
"numerics",
"bignum",
"decimal",
"arbitrary-precision",
"floating-point",
"no-std",
]
license = "MIT/Apache-2.0"
autobenches = false
[lib]
bench = false
[dependencies]
libm = "0.2.6"
num-bigint = { version = "0.4", default-features = false }
num-integer = { version = "0.1", default-features = false }
num-traits = { version = "0.2", default-features = false }
serde = { version = "1.0", optional = true, default-features = false }
[dev-dependencies]
paste = "1"
serde_json = "1.0"
siphasher = { version = "0.3.10", default-features = false }
# The following dev-dependencies are only required for benchmarking
# (use the `benchmark-bigdecimal` script to uncomment these and run benchmarks)
# BENCH: criterion = { version = "0.4", features = [ "html_reports" ] }
# BENCH: oorandom = { version = "11.1.3" }
# BENCH: lazy_static = { version = "1" }
[features]
default = ["std"]
string-only = []
std = ["num-bigint/std", "num-integer/std", "num-traits/std"]
[[bench]]
name = "arithmetic"
harness = false