[package]
edition = "2021"
rust-version = "1.68"
name = "dashu-base"
version = "0.6.0"
authors = ["Jacob Zhong <cmpute@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common trait definitions, error types, and utilities shared by the dashu math crates (integers, floats, rationals, and complex numbers). Defines the core abstractions the library builds on — Approximation, AbsOrd, Signed, SquareRoot, CubicRoot, EstimatedLog2, BitTest, and FloatEncoding — plus the Sign type and conversion errors."
homepage = "https://github.com/cmpute/dashu/tree/master/base"
documentation = "https://docs.rs/dashu-base"
readme = "README.md"
keywords = [
"mathematics",
"numerics",
]
categories = [
"mathematics",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cmpute/dashu"
[package.metadata]
maintenance = "actively-developed"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["std"]
std = []
[lib]
name = "dashu_base"
path = "src/lib.rs"
[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
[dependencies.num-modular]
version = "0.6.5"
default-features = false
[dev-dependencies.criterion]
version = "0.5.1"
features = ["html_reports"]
[dev-dependencies.rand]
version = "0.8.3"