spirix 0.1.1

Two's complement floating-point arithmetic library
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 = "2021"
name = "spirix"
version = "0.1.1"
authors = ["Nick Spiker <fractaldecoder@proton.me>"]
build = "build.rs"
exclude = [
    "gpu/",
    "fpga/",
    "old hip/",
    "docs/",
    "examples/",
    "patent/",
    "paper/",
    "test_contiguous",
    "test_multiplication_truth",
    "*.hipi",
    "*.bc",
    "*.o",
    "*.s",
    "*.out",
    "target/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Two's complement floating-point arithmetic library"
homepage = "https://github.com/nickspiker/spirix"
documentation = "https://docs.rs/spirix"
readme = "README.md"
keywords = [
    "mathematics",
    "floating-point",
    "numerics",
    "arithmetic",
]
categories = [
    "mathematics",
    "algorithms",
    "no-std",
]
license-file = "LICENSE"
repository = "https://github.com/nickspiker/spirix"

[features]
alloc = []
default = [
    "alloc",
    "rand",
]
prime = ["dep:num-prime"]
rand = ["dep:rand"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false

[[bench]]
name = "sqrt_benchmark"
path = "benches/sqrt_benchmark.rs"
harness = false

[dependencies.i256]
version = "0.2.2"

[dependencies.num-complex]
version = "0.4.6"
default-features = false

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

[dependencies.num-prime]
version = "0.4.4"
optional = true

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

[dependencies.rand]
version = "0.9.0"
optional = true

[dev-dependencies.approx]
version = "0.5"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.num-complex]
version = "0.4.6"
features = ["std"]

[dev-dependencies.paste]
version = "1.0"

[dev-dependencies.proptest]
version = "1.5"

[profile.dev]
opt-level = 3
debug = 2
overflow-checks = true

[profile.release]
opt-level = 3
debug = 0
overflow-checks = false