-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCargo.toml
71 lines (58 loc) · 2.07 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
[package]
name = "dashu-int"
version = "0.4.1"
authors = ["Jacob Zhong <[email protected]>", "Tomek Czajka <[email protected]>"]
edition = "2021"
description = "A big integer library with good performance"
keywords = ["mathematics", "numerics", "integer", "bigint", "arbitrary-precision"]
categories = ["mathematics", "no-std"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cmpute/dashu"
homepage = "https://github.com/cmpute/dashu"
documentation = "https://docs.rs/dashu-int"
readme = "README.md"
rust-version = "1.61"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["std", "num-order"]
std = ["dashu-base/std"]
# unstable dependencies
rand = ["rand_v08"]
num-traits = ["num-traits_v02"]
num-integer = ["num-integer_v01"]
[dependencies]
dashu-base = { version = "0.4.0", default-features = false, path = "../base" }
cfg-if = { version = "1.0.0" }
static_assertions = { version = "1.1" }
rustversion = { version = "1.0.0" }
num-modular = { version = "0.6.1" }
# stable dependencies
num-order = { optional = true, version = "1.2.0", default-features = false }
serde = { optional = true, version = "1.0.130", default-features = false }
zeroize = { optional = true, version = "1.5.7", default-features = false }
# unstable dependencies
rand_v08 = { optional = true, version = "0.8.3", package = "rand", default-features = false }
num-traits_v02 = { optional = true, version = "0.2.14", package = "num-traits", default-features = false }
num-integer_v01 = { optional = true, version = "0.1.45", package = "num-integer", default-features = false }
[dev-dependencies]
rand_v08 = { version = "0.8.3", package = "rand" }
postcard = { version = "1.0.2", features = ["alloc"] }
serde_test = { version = "1.0.130" }
serde_json = { version = "1.0" }
criterion = { version = "0.5.1", features = ["html_reports"] }
[lib]
bench = false
[[test]]
name = "random"
required-features = ["rand"]
[[test]]
name = "serde"
required-features = ["serde"]
[[test]]
name = "num_order"
required-features = ["num-order"]
[[bench]]
name = "primitive"
required-features = ["rand"]
harness = false