calc_rational 3.1.0

CLI calculator for rational numbers.
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.97.0"
name = "calc_rational"
version = "3.1.0"
authors = ["Zack Newman <zack@philomathiclife.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI calculator for rational numbers."
documentation = "https://crates.io/crates/calc_rational"
readme = "README.md"
keywords = [
    "calculator",
    "mathematics",
    "numerics",
]
categories = [
    "algorithms",
    "mathematics",
    "science",
    "command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://git.philomathiclife.com/repos/calc_rational/"

[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
targets = [
    "aarch64-apple-darwin",
    "aarch64-pc-windows-msvc",
    "aarch64-unknown-linux-gnu",
    "i686-pc-windows-msvc",
    "i686-unknown-linux-gnu",
    "x86_64-pc-windows-gnu",
    "x86_64-pc-windows-msvc",
    "x86_64-unknown-freebsd",
    "x86_64-unknown-linux-musl",
    "x86_64-unknown-netbsd",
]

[features]
default = ["rand"]
rand = [
    "dep:rand",
    "std",
]
std = []

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

[[bin]]
name = "calc"
path = "src/main.rs"
required-features = ["std"]

[dependencies.num-bigint]
version = "0.4.8"
default-features = false

[dependencies.num-integer]
version = "0.1.46"
default-features = false

[dependencies.num-rational]
version = "0.4.2"
features = ["num-bigint"]
default-features = false

[dependencies.num-traits]
version = "0.2.19"
default-features = false

[dependencies.rand]
version = "0.10.2"
features = ["thread_rng"]
optional = true
default-features = false

[target.'cfg(target_os = "openbsd")'.dependencies.priv_sep]
version = "3.0.0-alpha.5.1"
default-features = false

[lints.clippy]
cargo = "allow"
complexity = "allow"
correctness = "allow"
nursery = "allow"
pedantic = "allow"
perf = "allow"
restriction = "allow"
style = "allow"
suspicious = "allow"

[lints.rust.ambiguous-associated-items]
level = "allow"
priority = -1

[lints.rust.ambiguous-glob-imports]
level = "allow"
priority = -1

[lints.rust.arithmetic-overflow]
level = "allow"
priority = -1

[lints.rust.binary-asm-labels]
level = "allow"
priority = -1

[lints.rust.bindings-with-variant-name]
level = "allow"
priority = -1

[lints.rust.conflicting-repr-hints]
level = "allow"
priority = -1

[lints.rust.dangerous-implicit-autorefs]
level = "allow"
priority = -1

[lints.rust.default-overrides-default-fields]
level = "allow"
priority = -1

[lints.rust.dependency-on-unit-never-type-fallback]
level = "allow"
priority = -1

[lints.rust.deref-nullptr]
level = "allow"
priority = -1

[lints.rust.duplicate-features]
level = "allow"
priority = -1

[lints.rust.elided-lifetimes-in-associated-constant]
level = "allow"
priority = -1

[lints.rust.enum-intrinsics-non-enums]
level = "allow"
priority = -1

[lints.rust.explicit-builtin-cfgs-in-flags]
level = "allow"
priority = -1

[lints.rust.ill-formed-attribute-input]
level = "allow"
priority = -1

[lints.rust.incomplete-include]
level = "allow"
priority = -1

[lints.rust.ineffective-unstable-trait-impl]
level = "allow"
priority = -1

[lints.rust.invalid-atomic-ordering]
level = "allow"
priority = -1

[lints.rust.invalid-from-utf8-unchecked]
level = "allow"
priority = -1

[lints.rust.invalid-macro-export-arguments]
level = "allow"
priority = -1

[lints.rust.invalid-null-arguments]
level = "allow"
priority = -1

[lints.rust.invalid-reference-casting]
level = "allow"
priority = -1

[lints.rust.invalid-type-param-default]
level = "allow"
priority = -1

[lints.rust.legacy-derive-helpers]
level = "allow"
priority = -1

[lints.rust.let-underscore-lock]
level = "allow"
priority = -1

[lints.rust.long-running-const-eval]
level = "allow"
priority = -1

[lints.rust.macro-expanded-macro-exports-accessed-by-absolute-paths]
level = "allow"
priority = -1

[lints.rust.mutable-transmutes]
level = "allow"
priority = -1

[lints.rust.named-asm-labels]
level = "allow"
priority = -1

[lints.rust.never-type-fallback-flowing-into-unsafe]
level = "allow"
priority = -1

[lints.rust.no-mangle-const-items]
level = "allow"
priority = -1

[lints.rust.out-of-scope-macro-calls]
level = "allow"
priority = -1

[lints.rust.overflowing-literals]
level = "allow"
priority = -1

[lints.rust.patterns-in-fns-without-body]
level = "allow"
priority = -1

[lints.rust.proc-macro-derive-resolution-fallback]
level = "allow"
priority = -1

[lints.rust.pub-use-of-private-extern-crate]
level = "allow"
priority = -1

[lints.rust.repr-transparent-non-zst-fields]
level = "allow"
priority = -1

[lints.rust.semicolon-in-expressions-from-macros]
level = "allow"
priority = -1

[lints.rust.test-unstable-lint]
level = "allow"
priority = -1

[lints.rust.text-direction-codepoint-in-comment]
level = "allow"
priority = -1

[lints.rust.text-direction-codepoint-in-literal]
level = "allow"
priority = -1

[lints.rust.unconditional-panic]
level = "allow"
priority = -1

[lints.rust.undropped-manually-drops]
level = "allow"
priority = -1

[lints.rust.uninhabited-static]
level = "allow"
priority = -1

[lints.rust.unknown-crate-types]
level = "allow"
priority = -1

[lints.rust.useless-deprecated]
level = "allow"
priority = -1

[lints.rust.varargs-without-pattern]
level = "allow"
priority = -1

[lints.rust.warnings]
level = "allow"
priority = -1

[lints.rustdoc]
all = "allow"

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true