-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
72 lines (65 loc) · 2.3 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
61
62
63
64
65
66
67
68
69
70
71
72
[package]
name = "bevy_cursor_kit"
version = "0.3.0"
edition = "2021"
description = "A Bevy plugin for working with cursors."
repository = "https://github.com/mgi388/bevy-cursor-kit"
license = "MIT OR Apache-2.0"
[features]
default = []
serde = ["dep:serde", "bitflags/serde", "ico/serde"]
serde_asset = ["serde"]
serde_json_asset = ["dep:serde_json", "serde_asset"]
serde_ron_asset = ["dep:ron", "serde_asset"]
serde_toml_asset = ["dep:toml", "serde_asset"]
# TODO: Change 0.16.0-dev to 0.16.0 once Bevy 0.16 is released.
[dependencies]
bevy_app = "0.16.0-dev"
bevy_ecs = "0.16.0-dev"
bevy_asset = "0.16.0-dev"
bevy_image = "0.16.0-dev"
bevy_math = "0.16.0-dev"
bevy_reflect = "0.16.0-dev"
bevy_winit = { version = "0.16.0-dev", features = ["custom_cursor"] }
bitflags = { version = "2.8", default-features = false }
byteorder = "1.5"
ico = "0.4"
image = "0.25"
riff = "2"
ron = { version = "0.8", optional = true, default-features = false }
serde = { version = "1", optional = true, default-features = false }
serde_json = { version = "1", optional = true }
thiserror = "2"
toml = { version = "0.8", optional = true }
# TODO: Change 0.16.0-dev to 0.16.0 once Bevy 0.16 is released.
[dev-dependencies]
bevy = { version = "0.16.0-dev", default-features = false, features = [
"bevy_ui",
"bevy_window",
"bevy_winit",
"custom_cursor",
"default_font",
"multi_threaded",
"png",
"x11",
] }
ron = "0.8"
[lints.clippy]
type_complexity = "allow"
[package.metadata.docs.rs]
all-features = true
[[example]]
name = "cur_ron_asset"
path = "examples/cur_ron_asset.rs"
doc-scrape-examples = true
required-features = ["serde_ron_asset"]
# TODO: Remove once Bevy 0.16 is released.
[patch.crates-io]
bevy = { git = "https://github.com/bevyengine/bevy.git", branch = "main" }
bevy_app = { git = "https://github.com/bevyengine/bevy.git", branch = "main" }
bevy_asset = { git = "https://github.com/bevyengine/bevy.git", branch = "main" }
bevy_ecs = { git = "https://github.com/bevyengine/bevy.git", branch = "main" }
bevy_image = { git = "https://github.com/bevyengine/bevy.git", branch = "main" }
bevy_math = { git = "https://github.com/bevyengine/bevy.git", branch = "main" }
bevy_reflect = { git = "https://github.com/bevyengine/bevy.git", branch = "main" }
bevy_winit = { git = "https://github.com/bevyengine/bevy.git", branch = "main" }