Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/clippy.toml
6570 views
1
doc-valid-idents = [
2
"GilRs",
3
"glTF",
4
"macOS",
5
"NVidia",
6
"OpenXR",
7
"sRGB",
8
"VSync",
9
"WebGL2",
10
"WebGPU",
11
"..",
12
]
13
14
check-private-items = true
15
16
disallowed-methods = [
17
{ path = "f32::powi", reason = "use bevy_math::ops::FloatPow::squared, bevy_math::ops::FloatPow::cubed, or bevy_math::ops::powf instead for libm determinism" },
18
{ path = "f32::log", reason = "use bevy_math::ops::ln, bevy_math::ops::log2, or bevy_math::ops::log10 instead for libm determinism" },
19
{ path = "f32::abs_sub", reason = "deprecated and deeply confusing method" },
20
{ path = "f32::powf", reason = "use bevy_math::ops::powf instead for libm determinism" },
21
{ path = "f32::exp", reason = "use bevy_math::ops::exp instead for libm determinism" },
22
{ path = "f32::exp2", reason = "use bevy_math::ops::exp2 instead for libm determinism" },
23
{ path = "f32::ln", reason = "use bevy_math::ops::ln instead for libm determinism" },
24
{ path = "f32::log2", reason = "use bevy_math::ops::log2 instead for libm determinism" },
25
{ path = "f32::log10", reason = "use bevy_math::ops::log10 instead for libm determinism" },
26
{ path = "f32::cbrt", reason = "use bevy_math::ops::cbrt instead for libm determinism" },
27
{ path = "f32::hypot", reason = "use bevy_math::ops::hypot instead for libm determinism" },
28
{ path = "f32::sin", reason = "use bevy_math::ops::sin instead for libm determinism" },
29
{ path = "f32::cos", reason = "use bevy_math::ops::cos instead for libm determinism" },
30
{ path = "f32::tan", reason = "use bevy_math::ops::tan instead for libm determinism" },
31
{ path = "f32::asin", reason = "use bevy_math::ops::asin instead for libm determinism" },
32
{ path = "f32::acos", reason = "use bevy_math::ops::acos instead for libm determinism" },
33
{ path = "f32::atan", reason = "use bevy_math::ops::atan instead for libm determinism" },
34
{ path = "f32::atan2", reason = "use bevy_math::ops::atan2 instead for libm determinism" },
35
{ path = "f32::sin_cos", reason = "use bevy_math::ops::sin_cos instead for libm determinism" },
36
{ path = "f32::exp_m1", reason = "use bevy_math::ops::exp_m1 instead for libm determinism" },
37
{ path = "f32::ln_1p", reason = "use bevy_math::ops::ln_1p instead for libm determinism" },
38
{ path = "f32::sinh", reason = "use bevy_math::ops::sinh instead for libm determinism" },
39
{ path = "f32::cosh", reason = "use bevy_math::ops::cosh instead for libm determinism" },
40
{ path = "f32::tanh", reason = "use bevy_math::ops::tanh instead for libm determinism" },
41
{ path = "f32::asinh", reason = "use bevy_math::ops::asinh instead for libm determinism" },
42
{ path = "f32::acosh", reason = "use bevy_math::ops::acosh instead for libm determinism" },
43
{ path = "f32::atanh", reason = "use bevy_math::ops::atanh instead for libm determinism" },
44
]
45
46
# Require `bevy_ecs::children!` to use `[]` braces, instead of `()` or `{}`.
47
standard-macro-braces = [{ name = "children", brace = "[" }]
48
49