-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
51 lines (47 loc) · 1.68 KB
/
Copy pathCargo.toml
File metadata and controls
51 lines (47 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "oxidized-physics"
version = "0.1.0"
edition = "2024"
authors = ["Dogukan Metan <dogukanmetan@gmail.com>"]
license = "MIT"
repository = "https://github.com/oxidized-mc/physics"
homepage = "https://github.com/oxidized-mc/physics"
rust-version = "1.85"
readme = "README.md"
documentation = "https://docs.rs/oxidized-physics"
description = "Minecraft physics engine — AABB collision detection, gravity, friction, voxel shapes"
keywords = ["minecraft", "oxidized-mc"]
categories = ["game-development"]
[dependencies]
oxidized-mc-types = "0.3"
oxidized-registry = "0.1.0-dev"
glam = "0.30"
thiserror = "2"
[dev-dependencies]
proptest = "1"
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
unused_imports = "warn"
[lints.clippy]
# Correctness — hard errors
correctness = { level = "deny", priority = -1 }
# Performance and style — warnings
perf = { level = "warn", priority = -1 }
style = { level = "warn", priority = -1 }
complexity = { level = "warn", priority = -1 }
suspicious = { level = "warn", priority = -1 }
# Specific useful lints
unwrap_used = "deny"
expect_used = "deny"
panic = "deny"
print_stdout = "deny"
print_stderr = "deny"
needless_pass_by_value = "warn"
redundant_clone = "warn"
# Noisy lints intentionally suppressed
module_name_repetitions = "allow"
must_use_candidate = "allow"
cast_possible_truncation = "allow"
cast_sign_loss = "allow"
cast_possible_wrap = "allow"