# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.65.0" name = "inari" version = "2.0.0" authors = ["Masashi Mizuno"] build = false include = [ "/.cargo/**", "/examples/**", "/src/**", "/tests/**", "/Cargo.toml", "/CHANGELOG.md", "/LICENSE", "/README.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A Rust implementation of interval arithmetic" documentation = "https://docs.rs/inari" readme = "README.md" keywords = [ "arithmetic", "interval", "math", "numerics", ] categories = [ "mathematics", "science", ] license = "MIT" repository = "https://github.com/unageek/inari" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", "--html-in-header", "src/_docs/header.html", ] [lib] name = "inari" path = "src/lib.rs" [[example]] name = "exp" path = "examples/exp.rs" required-features = [ "gmp", "libm", ] [[example]] name = "log" path = "examples/log.rs" required-features = [ "gmp", "libm", ] [[example]] name = "parse" path = "examples/parse.rs" required-features = ["gmp"] [[test]] name = "itf1788" path = "tests/itf1788.rs" [[test]] name = "macros" path = "tests/macros.rs" [dependencies.cfg-if] version = "1.0" [dependencies.forward_ref] version = "1.0.0" [dependencies.gmp-mpfr-sys] version = "1.5" features = ["mpfr"] optional = true default-features = false [dependencies.libm] version = "0.2" optional = true [dependencies.nom] version = "7.0" features = ["std"] optional = true default-features = false [dependencies.rug] version = "1.19" features = [ "float", "integer", "rational", ] optional = true default-features = false [features] default = ["gmp"] gmp = [ "gmp-mpfr-sys", "nom", "rug", ]