[package]
name = "ga3"
version = "0.3.6"
description = "Common types for 3D geometric algebra"
authors = ["p <p@p11c.xyz>"]
edition = "2024"
license = "MIT OR Apache-2.0"
keywords = ["geometric-algebra", "gamedev", "math", "vector"]
repository = "https://gitlab.com/porky11/ga3"
readme = "README.md"

[dependencies]
scalars = "0.3"
derive_more = { version = "2.0.1", features = ["add", "add_assign", "not"] }
inner-space = "0.3"
vector-basis = "0.5"
vector-space = "0.7"
token-parser = { version = "0.8", optional = true }
data-stream = { version = "0.3.0", optional = true }

[features]
parsable = ["token-parser"]

[lints.rust]
warnings = { level = "deny", priority = -2 }

[lints.clippy]
nursery = { level = "deny", priority = -1 }
pedantic = { level = "deny", priority = -1 }
missing_transmute_annotations = "deny"
expect_used = "deny"
cognitive_complexity = "allow"
suboptimal_flops = "allow"
missing_const_for_fn = "allow"
similar_names = "allow"
wildcard_imports = "allow"
inline_always = "allow"
must_use_candidate = "allow"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
cast_possible_truncation = "allow"
cast_sign_loss = "allow"
cast_precision_loss = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
needless_pass_by_value = "allow"
enum_glob_use = "allow"
cast_possible_wrap = "allow"
items_after_statements = "allow"
unreadable_literal = "allow"
fn_params_excessive_bools = "allow"
too_many_arguments = "allow"
cast_lossless = "allow"
range_plus_one = "allow"
option_if_let_else = "allow"
match_same_arms = "allow"
semicolon_if_nothing_returned = "allow"
many_single_char_names = "allow"
suspicious_operation_groupings = "allow"
return_self_not_must_use = "allow"
struct_field_names = "allow"
implicit_hasher = "allow"
while_float = "allow"
missing_panics_doc = "allow"
trait_duplication_in_bounds = "allow"
needless_collect = "allow"
boxed_local = "allow"
float_cmp = "allow"
case_sensitive_file_extension_comparisons = "allow"
unchecked_time_subtraction = "allow"
suspicious_arithmetic_impl = "allow"
future_not_send = "allow"
