-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
69 lines (59 loc) · 1.31 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
[package]
name = "inari"
version = "2.0.0"
authors = ["Masashi Mizuno"]
edition = "2021"
rust-version = "1.65.0"
description = "A Rust implementation of interval arithmetic"
documentation = "https://docs.rs/inari"
readme = "README.md"
repository = "https://github.com/unageek/inari"
license = "MIT"
keywords = ["arithmetic", "interval", "math", "numerics"]
categories = ["mathematics", "science"]
include = [
"/.cargo/**",
"/examples/**",
"/src/**",
"/tests/**",
"/Cargo.toml",
"/CHANGELOG.md",
"/LICENSE",
"/README.md",
]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs", "--html-in-header", "src/_docs/header.html"]
[features]
default = ["gmp"]
gmp = ["gmp-mpfr-sys", "nom", "rug"]
[dependencies]
cfg-if = "1.0"
forward_ref = "1.0.0"
[dependencies.gmp-mpfr-sys]
version = "1.5"
default-features = false
features = ["mpfr"]
optional = true
[dependencies.libm]
version = "0.2"
optional = true
[dependencies.nom]
version = "7.0"
default-features = false
features = ["std"]
optional = true
[dependencies.rug]
version = "1.19"
default-features = false
features = ["float", "integer", "rational"]
optional = true
[[example]]
name = "exp"
required-features = ["gmp", "libm"]
[[example]]
name = "log"
required-features = ["gmp", "libm"]
[[example]]
name = "parse"
required-features = ["gmp"]