# 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"
name = "ga3"
version = "0.3.6"
authors = ["p <p@p11c.xyz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common types for 3D geometric algebra"
readme = "README.md"
keywords = [
    "geometric-algebra",
    "gamedev",
    "math",
    "vector",
]
license = "MIT OR Apache-2.0"
repository = "https://gitlab.com/porky11/ga3"

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

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

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

[dependencies.data-stream]
version = "0.3.0"
optional = true

[dependencies.derive_more]
version = "2.0.1"
features = [
    "add",
    "add_assign",
    "not",
]

[dependencies.inner-space]
version = "0.3"

[dependencies.scalars]
version = "0.3"

[dependencies.token-parser]
version = "0.8"
optional = true

[dependencies.vector-basis]
version = "0.5"

[dependencies.vector-space]
version = "0.7"

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

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

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

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