puremp 0.1.0

A pure-Rust arbitrary-precision arithmetic library — integers, rationals and MPFR-class floats — with no foreign-code dependencies, plus a C ABI and a CLI.
Documentation
# 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 = "2024"
rust-version = "1.88"
name = "puremp"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A pure-Rust arbitrary-precision arithmetic library — integers, rationals and MPFR-class floats — with no foreign-code dependencies, plus a C ABI and a CLI."
readme = "README.md"
keywords = [
    "bignum",
    "bigint",
    "arbitrary-precision",
    "rational",
    "no-std",
]
categories = [
    "mathematics",
    "no-std",
    "algorithms",
]
license = "MIT"
repository = "https://github.com/KarpelesLab/puremp"

[features]
alloc = []
cli = [
    "std",
    "rational",
    "float",
]
default = [
    "std",
    "rational",
    "float",
    "cli",
]
ffi = [
    "std",
    "rational",
    "float",
]
float = ["int"]
int = ["alloc"]
rational = ["int"]
std = ["alloc"]

[lib]
name = "puremp"
path = "src/lib.rs"

[[bin]]
name = "puremp"
path = "src/bin/puremp/main.rs"
required-features = ["cli"]

[[example]]
name = "bench"
path = "examples/bench.rs"
required-features = [
    "std",
    "int",
]

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies]

[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"

[profile.release]
lto = "thin"