-
Notifications
You must be signed in to change notification settings - Fork 84
/
Cargo.toml
60 lines (50 loc) · 1.59 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 = "hecs"
version = "0.10.5"
description = "A fast, minimal, and ergonomic entity-component-system library"
authors = ["Benjamin Saunders <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Ralith/hecs"
readme = "README.md"
keywords = ["ecs", "entity"]
categories = ["data-structures", "game-engines", "no-std"]
rust-version = "1.65"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[badges]
maintenance = { status = "actively-developed" }
[features]
default = ["std"]
std = []
# Enables derive(Bundle) and derive(Query)
macros = ["hecs-macros"]
# Enables the serialize::column module
column-serialize = ["serde"]
# Enables the serialize::row module
row-serialize = ["serde"]
[dependencies]
hecs-macros = { path = "macros", version = "0.10.0", optional = true }
hashbrown = { version = "0.15", default-features = false, features = ["default-hasher", "inline-more"] }
serde = { version = "1.0.117", default-features = false, optional = true }
spin = { version = "0.9.8", default-features = false, features = ["mutex", "spin_mutex", "lazy"] }
foldhash = { version = "0.1.3", default-features = false }
[dev-dependencies]
bencher = "0.1.5"
rand = "0.8.3"
trybuild = "1.0.23"
serde = { version = "1.0.117", features = ["derive"] }
serde_test = "1.0.117"
bincode = "1.3.3"
[[bench]]
name = "bench"
harness = false
required-features = ["macros"]
[profile.release]
debug = true
[workspace]
members = ["macros", "tests/no-std-test-crates/macros"]
[[example]]
name = "serialize_to_disk"
required-features = ["column-serialize"]