forked from akubera/bigdecimal-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
52 lines (45 loc) · 1.47 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
[package]
name = "bigdecimal"
version = "0.4.2+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 = [
"numerics",
"bignum",
"decimal",
"arbitrary-precision",
]
categories = [ "mathematics", "science", "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.101"
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" }
# Only required for property testing - incompatible with older versions of rust
# PROPERTY-TESTS: proptest = "1"
[build-dependencies]
autocfg = "1"
[features]
default = ["std"]
string-only = []
std = ["num-bigint/std", "num-integer/std", "num-traits/std"]
[[bench]]
name = "arithmetic"
harness = false