1 | [package] |
2 | authors = ["The Rust Project Developers" ] |
3 | description = "Big integer implementation for Rust" |
4 | documentation = "https://docs.rs/num-bigint" |
5 | homepage = "https://github.com/rust-num/num-bigint" |
6 | keywords = ["mathematics" , "numerics" , "bignum" ] |
7 | categories = [ "algorithms" , "data-structures" , "science" ] |
8 | license = "MIT OR Apache-2.0" |
9 | name = "num-bigint" |
10 | repository = "https://github.com/rust-num/num-bigint" |
11 | version = "0.4.6" |
12 | readme = "README.md" |
13 | exclude = ["/ci/*" , "/.github/*" ] |
14 | edition = "2021" |
15 | rust-version = "1.60" |
16 | |
17 | [features] |
18 | default = ["std" ] |
19 | std = ["num-integer/std" , "num-traits/std" ] |
20 | arbitrary = ["dep:arbitrary" ] |
21 | quickcheck = ["dep:quickcheck" ] |
22 | rand = ["dep:rand" ] |
23 | serde = ["dep:serde" ] |
24 | |
25 | [package.metadata.docs.rs] |
26 | features = ["std" , "serde" , "rand" , "quickcheck" , "arbitrary" ] |
27 | rustdoc-args = ["--cfg" , "docsrs" ] |
28 | |
29 | [[bench]] |
30 | name = "bigint" |
31 | |
32 | [[bench]] |
33 | name = "factorial" |
34 | |
35 | [[bench]] |
36 | name = "gcd" |
37 | |
38 | [[bench]] |
39 | name = "roots" |
40 | |
41 | [[bench]] |
42 | harness = false |
43 | name = "shootout-pidigits" |
44 | |
45 | [dependencies] |
46 | |
47 | [dependencies.num-integer] |
48 | version = "0.1.46" |
49 | default-features = false |
50 | features = ["i128" ] |
51 | |
52 | [dependencies.num-traits] |
53 | version = "0.2.18" |
54 | default-features = false |
55 | features = ["i128" ] |
56 | |
57 | [dependencies.rand] |
58 | optional = true |
59 | version = "0.8" |
60 | default-features = false |
61 | |
62 | [dependencies.serde] |
63 | optional = true |
64 | version = "1.0" |
65 | default-features = false |
66 | |
67 | [dependencies.quickcheck] |
68 | optional = true |
69 | version = "1" |
70 | default-features = false |
71 | |
72 | [dependencies.arbitrary] |
73 | optional = true |
74 | version = "1" |
75 | default-features = false |
76 | |