-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
44 lines (37 loc) · 1.05 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
[package]
name = "num-prime"
version = "0.4.4"
edition = "2018"
repository = "https://github.com/cmpute/num-prime"
keywords = ["mathematics", "primes", "number-theory", "bigint", "num"]
categories = ["cryptography", "science", "algorithms"]
documentation = "https://docs.rs/num-prime"
license = "Apache-2.0"
description = """
Generic and optimized primality test, factorization and various number theoretic functions with arbitrary precision based on `num`.
"""
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
num-integer = "0.1.44"
num-traits = "0.2.14"
num-modular = "0.5.0"
bitvec = "1.0.0"
rand = "0.8.4"
lru = "0.12.2"
either = "1.6.1"
[dependencies.num-bigint]
optional = true
version = "0.4.3"
features = ["rand"]
[features]
default = ['big-table', 'big-int']
big-table = []
# TODO: use the new cargo feature to override the num-bigint option
big-int = ['num-bigint', 'num-modular/num-bigint']
[workspace]
members = [
"bench",
]
[package.metadata.docs.rs]
all-features = true