[package]
edition = "2024"
name = "agave-math-utils"
version = "4.2.0-beta.1"
authors = ["Anza Maintainers <maintainers@anza.xyz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Math utilities for Agave"
homepage = "https://anza.xyz/"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/anza-xyz/agave"
resolver = "2"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
all-features = true
rustdoc-args = ["--cfg=docsrs"]
[features]
agave-unstable-api = []
[lib]
name = "agave_math_utils"
path = "src/lib.rs"
[dependencies.num-traits]
version = "0.2"
[dev-dependencies.rand]
version = "0.9.4"
[dev-dependencies.test-case]
version = "3.3.1"
[lints.clippy]
arithmetic_side_effects = "deny"
default_trait_access = "deny"
manual_let_else = "deny"
new_without_default = "allow"
uninlined_format_args = "deny"
used_underscore_binding = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
'cfg(target_os, values("solana"))',
'cfg(feature, values("frozen-abi", "no-entrypoint"))',
'cfg(target_arch, values("sbf"))',
]