-
Notifications
You must be signed in to change notification settings - Fork 24
/
Cargo.toml
90 lines (77 loc) · 2.29 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[package]
name = "bevy_common_assets"
version = "0.12.0"
authors = ["Niklas Eicker <git@nikl.me>"]
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Bevy plugin adding support for loading your own asset types from common file formats such as json and yaml"
repository = "https://github.com/NiklasEi/bevy_common_assets"
homepage = "https://github.com/NiklasEi/bevy_common_assets"
documentation = "https://docs.rs/bevy_common_assets"
keywords = ["bevy", "gamedev", "asset", "assets"]
categories = ["game-development"]
readme = "./README.md"
[features]
ron = ["dep:serde_ron"]
toml = ["dep:serde_toml"]
yaml = ["dep:serde_yaml"]
json = ["dep:serde_json"]
msgpack = ["dep:rmp-serde"]
xml = ["dep:quick-xml"]
csv = ["dep:csv"]
postcard = ["dep:postcard"]
[dependencies]
bevy = { version = "0.15.0", default-features = false, features = ["bevy_asset"] }
serde_toml = { version = "0.8", package = "toml", optional = true }
serde_ron = { version = "0.8", package = "ron", optional = true }
serde_yaml = { version = "0.9", optional = true }
serde_json = { version = "1", optional = true }
rmp-serde = { version = "1", optional = true }
csv = { version = "1", optional = true }
thiserror = "1.0"
quick-xml = { version = "0.36.2", features = [ "serialize" ], optional = true }
serde = { version = "1" }
anyhow = { version = "1" }
postcard = {version = "1.0", features = ["use-std"], optional = true}
[dev-dependencies]
bevy = { version = "0.15.0" }
serde = { version = "1" }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[example]]
name = "msgpack"
path = "examples/msgpack.rs"
required-features = ["msgpack"]
[[example]]
name = "postcard"
path = "examples/postcard.rs"
required-features = ["postcard"]
[[example]]
name = "ron"
path = "examples/ron.rs"
required-features = ["ron"]
[[example]]
name = "toml"
path = "examples/toml.rs"
required-features = ["toml"]
[[example]]
name = "yaml"
path = "examples/yaml.rs"
required-features = ["yaml"]
[[example]]
name = "json"
path = "examples/json.rs"
required-features = ["json"]
[[example]]
name = "xml"
path = "examples/xml.rs"
required-features = ["xml"]
[[example]]
name = "csv"
path = "examples/csv.rs"
required-features = ["csv"]
[[example]]
name = "multiple_formats"
path = "examples/multiple_formats.rs"
required-features = ["ron", "json"]