vec3-rs 0.3.2

minimal 3d vector implementation
Documentation
# 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"
rust-version = "1.93.0"
name = "vec3-rs"
version = "0.3.2"
authors = ["Dazor Plasma <dazorplasma@proton.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "minimal 3d vector implementation"
documentation = "https://docs.rs/vec3-rs"
readme = "README.md"
keywords = [
    "math",
    "vector",
    "geometry",
    "3d",
]
categories = [
    "graphics",
    "mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/DazorPlasma/vec3-rs"

[features]
default = ["std"]
libm = ["num-traits/libm"]
random = [
    "dep:rand",
    "std",
]
std = [
    "serde/std",
    "rand/std",
    "num-traits/std",
]

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

[[bench]]
name = "vector3_benches"
path = "benches/vector3_benches.rs"
harness = false

[dependencies.num-traits]
version = "0.2.19"
default-features = false

[dependencies.rand]
version = "0.10.0"
optional = true
default-features = false

[dependencies.serde]
version = "1.0.228"
features = ["serde_derive"]
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.criterion]
version = "0.8.2"

[dev-dependencies.rand]
version = "0.10.0"

[dev-dependencies.serde]
version = "1.0.228"

[lints.clippy.all]
level = "deny"
priority = 0

[lints.clippy.cargo]
level = "deny"
priority = 3

[lints.clippy.multiple_crate_versions]
level = "allow"
priority = 4

[lints.clippy.nursery]
level = "deny"
priority = 2

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

[lints.rust.missing_docs]
level = "deny"
priority = 0

[lints.rust.warnings]
level = "deny"
priority = 0

[profile.bench]
lto = true
codegen-units = 1
debug = 2
inherits = "release"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1