[[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]
expect_used = "deny"
indexing_slicing = "deny"
module_name_repetitions = "allow"
panic = "deny"
similar_names = "allow"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"
[lints.rust.future_incompatible]
level = "deny"
priority = -1
[lints.rust.nonstandard_style]
level = "deny"
priority = -1
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1
[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1
[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.3.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"