[[bench]]
harness = false
name = "compare"
path = "benches/compare/main.rs"
[dependencies.bevy_math]
default-features = false
features = ["curve"]
version = "0.18"
[dependencies.bevy_reflect]
default-features = false
features = ["glam"]
optional = true
version = "0.18"
[dependencies.serde]
default-features = false
features = ["derive"]
optional = true
version = "1"
[dev-dependencies.bevy]
version = "0.18"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.fastnoise-lite]
version = "1.1"
[dev-dependencies.libnoise]
version = "1.1"
[dev-dependencies.noise]
version = "0.9"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "heightmap"
path = "examples/heightmap.rs"
[[example]]
name = "show_gradients"
path = "examples/show_gradients.rs"
[[example]]
name = "show_noise"
path = "examples/show_noise.rs"
[features]
bevy_reflect = ["dep:bevy_reflect"]
debug = []
default = ["std", "bevy_reflect", "serialize"]
libm = ["bevy_math/libm"]
nostd-libm = ["bevy_math/nostd-libm"]
serialize = ["dep:serde", "bevy_math/serialize"]
std = ["bevy_math/std", "bevy_reflect?/std", "serde?/std"]
[lib]
name = "noiz"
path = "src/lib.rs"
[lints.clippy]
alloc_instead_of_core = "warn"
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
doc_markdown = "warn"
manual_let_else = "warn"
match_same_arms = "warn"
needless_lifetimes = "allow"
nonstandard_macro_braces = "warn"
ptr_as_ptr = "warn"
ptr_cast_constness = "warn"
redundant_closure_for_method_calls = "warn"
redundant_else = "warn"
ref_as_ptr = "warn"
semicolon_if_nothing_returned = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
too_long_first_doc_paragraph = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
undocumented_unsafe_blocks = "warn"
unwrap_or_default = "warn"
[lints.rust]
missing_docs = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_qualifications = "warn"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(docsrs_dep)"]
level = "warn"
priority = 0
[package]
authors = ["Elliott Pierce"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["no-std::no-alloc", "no-std", "mathematics", "game-development", "graphics"]
description = "A simple, configurable, blazingly fast noise library built for and with Bevy."
documentation = "https://docs.rs/noiz"
edition = "2024"
homepage = "https://github.com/ElliottjPierce/noiz"
keywords = ["noise", "bevy", "math", "graphics", "random"]
license = "MIT OR Apache-2.0"
name = "noiz"
readme = "README.md"
repository = "https://github.com/ElliottjPierce/noiz"
version = "0.4.0"
[profile.dev]
opt-level = 3
[profile.release]
codegen-units = 1
incremental = false
lto = "fat"
opt-level = 3
[profile.test]
opt-level = 1