-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
60 lines (53 loc) · 1.22 KB
/
Cargo.toml
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
52
53
54
55
56
57
58
59
60
[package]
name = "rsmod-pathfinder"
version = "5.0.4"
edition = "2021"
authors = ["2004Scape"]
description = "A breadth-first search path finder."
license = "ISC"
license-file = "LICENSE.md"
repository = "https://github.com/2004scape/rsmod-pathfinder"
homepage = "https://github.com/2004scape/rsmod-pathfinder#readme"
readme = "README.md"
keywords = [
"rsmod",
"pathfinder",
"bfs",
"rust",
"webassembly"
]
categories = ["game-engines", "game-development"]
exclude = [".github", ".run", "package.json", "lumbridge.json", "src/main.*"]
[lib]
crate-type = ["cdylib", "lib"]
name = "rsmod"
[dev-dependencies]
criterion = "0.5.1"
[dependencies]
wasm-bindgen = "0.2.95"
once_cell = "1.20.2"
serde_json = "1.0.132"
serde = "1.0.210"
rand = "0.8.5"
getrandom = { version = "0.2.15", features = ["js"] }
[[bench]]
name = "collision"
harness = false
[[bench]]
name = "pathfinder"
harness = false
[profile.release]
lto = true
opt-level = 3
[package.metadata.wasm-pack.profile.release]
wasm-opt = [
"--generate-global-effects",
"--optimize-instructions",
"--memory-packing",
"--intrinsic-lowering",
"--flexible-inline-max-function-size",
"4294967295",
"--inlining",
"--inlining-optimizing",
"-O4",
]