fixed_analytics 1.0.0

Fixed-point mathematical functions using the CORDIC algorithm
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 = "fixed_analytics"
version = "1.0.0"
authors = ["David Gathercole"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fixed-point mathematical functions using the CORDIC algorithm"
documentation = "https://docs.rs/fixed_analytics"
readme = "README.md"
keywords = [
    "cordic",
    "fixed-point",
    "trigonometry",
    "math",
    "no_std",
]
categories = [
    "mathematics",
    "no-std",
    "algorithms",
    "embedded",
]
license = "MIT"
repository = "https://github.com/GeEom/fixed_analytics"

[package.metadata.docs.rs]
features = ["std"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["std"]
std = []
verify-no-panic = ["dep:no-panic"]

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

[[bin]]
name = "verify_no_panic"
path = "src/bin/verify_no_panic.rs"
required-features = ["verify-no-panic"]

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

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

[dependencies.fixed]
version = "1.30"

[dependencies.no-panic]
version = "0.1"
optional = true

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

[lints.clippy]
allow_attributes_without_reason = "deny"
dbg_macro = "deny"
empty_loop = "deny"
enum_glob_use = "deny"
exit = "deny"
expect_used = "deny"
if_then_some_else_none = "deny"
indexing_slicing = "deny"
infinite_loop = "deny"
map_err_ignore = "deny"
mem_forget = "deny"
missing_const_for_fn = "deny"
missing_errors_doc = "deny"
missing_panics_doc = "deny"
module_name_repetitions = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
result_large_err = "deny"
shadow_unrelated = "deny"
similar_names = "allow"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
used_underscore_binding = "deny"
wildcard_imports = "deny"

[lints.clippy.cargo]
level = "deny"
priority = -1

[lints.clippy.complexity]
level = "deny"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.clippy.perf]
level = "deny"
priority = -1

[lints.clippy.style]
level = "deny"
priority = -1

[lints.clippy.suspicious]
level = "deny"
priority = -1

[lints.rust]
future_incompatible = "deny"
missing_docs = "deny"
nonstandard_style = "deny"
rust_2018_idioms = "deny"
rust_2024_compatibility = "deny"
unsafe_code = "deny"
unused = "deny"

[profile.bench]
lto = true
codegen-units = 1

[profile.no-panic-check]
lto = "fat"
codegen-units = 1
panic = "unwind"
inherits = "release"

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