forked from isaacholt100/bnum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (33 loc) · 1.37 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
[package]
name = "bnum"
version = "0.3.0"
authors = ["isaac-holt <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Arbitrary, fixed size numeric types that extend the functionality of primitive numeric types in Rust."
homepage = "https://github.com/isaacholt100/bnum"
documentation = "https://docs.rs/bnum/latest/bnum"
repository = "https://github.com/isaacholt100/bnum"
readme = "README.md"
keywords = ["uint", "int", "bignum", "maths", "arbitrary"]
categories = ["numbers", "algorithms", "mathematics", "integers"]
exclude = ["src/float/*", "src/tests"]
[features]
default = []
nightly = []
serde = ["dep:serde", "serde-big-array"]
numtraits = ["num-integer", "num-traits"]
[dependencies]
num-integer = { version = "0.1.44", optional = true }
num-traits = { version = "0.2.15", optional = true }
serde = { version = "1.0.126", features = ["derive"], optional = true }
serde-big-array = { version = "0.3.2", features = ["const-generics"], optional = true }
rand = { version = "0.8.5", features = ["min_const_gen"], optional = true }
[dev-dependencies]
quickcheck = "1.0.3"
paste = "1.0.6"
[profile.release]
lto = true # enable link-time optimisation for faster runtime, but slower compile time
opt-level = 3 # maximum optimisation level for faster runtime, but slower compile time
[package.metadata.docs.rs]
features = ["nightly", "serde", "numtraits", "rand"]