aboutsummaryrefslogtreecommitdiff
path: root/azalea/Cargo.toml
blob: d67bfe0b3152ee43bb7a5c2b42b6191f10a42ae8 (plain)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[package]
name = "azalea"
description = "A framework for creating Minecraft bots."
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true

[package.metadata.release]
pre-release-replacements = [
    { file = "README.md", search = "`azalea = \"[a-z0-9\\.-]+\"`", replace = "`azalea = \"{{version}}\"`" },
]

[dependencies]
azalea-auth.workspace = true
azalea-block.workspace = true
azalea-brigadier.workspace = true
azalea-buf.workspace = true
azalea-chat.workspace = true
azalea-client.workspace = true
azalea-core.workspace = true
azalea-entity.workspace = true
azalea-inventory.workspace = true
azalea-physics.workspace = true
azalea-protocol.workspace = true
azalea-registry.workspace = true
azalea-world.workspace = true
bevy_app.workspace = true
bevy_ecs.workspace = true
bevy_tasks = { workspace = true, features = ["multi_threaded"] }
derive_more = { workspace = true, features = ["deref", "deref_mut"] }
futures.workspace = true
futures-lite.workspace = true
indexmap.workspace = true
nohash-hasher.workspace = true
num-format.workspace = true
num-traits.workspace = true
parking_lot.workspace = true
radix-heap.workspace = true
rustc-hash.workspace = true
serde = { workspace = true, optional = true }
thiserror.workspace = true
tokio.workspace = true
tracing.workspace = true
uuid.workspace = true


[dev-dependencies]
criterion.workspace = true
eyre.workspace = true
parking_lot = { workspace = true, features = ["deadlock_detection"] }
rand.workspace = true
bevy_log.workspace = true

[features]
default = ["log", "serde", "packet-event", "online-mode"]
# enables bevy_log::LogPlugin by default
log = ["azalea-client/log"]
serde = ["dep:serde", "azalea-registry/serde", "azalea-world/serde"]
packet-event = ["azalea-client/packet-event"]
online-mode = ["azalea-client/online-mode"]

[[example]]
name = "testbot"
# setting this to true for one example makes it work for all of them.
# see https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#scrape-examples
doc-scrape-examples = true

[[bench]]
name = "pathfinder"
harness = false

[[bench]]
name = "physics"
harness = false

[[bench]]
name = "checks"
harness = false

[lints]
workspace = true