[[bench]]
harness = false
name = "benchmarks"
path = "benches/benchmarks.rs"
[dependencies.fixed]
version = "1"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.8.1"
[features]
default = ["std"]
std = []
[lib]
name = "fixed_analytics"
path = "src/lib.rs"
[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"
[package]
authors = ["David Gathercole"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["mathematics", "no-std", "algorithms", "embedded"]
description = "Fixed-point mathematical functions using the CORDIC algorithm"
documentation = "https://docs.rs/fixed_analytics"
edition = "2024"
keywords = ["cordic", "fixed-point", "trigonometry", "math", "no_std"]
license = "MIT"
name = "fixed_analytics"
readme = "README.md"
repository = "https://github.com/GeEom/fixed_analytics"
rust-version = "1.88"
version = "0.5.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[profile.bench]
codegen-units = 1
lto = true
[profile.release]
codegen-units = 1
lto = true
panic = "abort"
[[test]]
name = "main"
path = "tests/main.rs"