-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathCargo.toml
54 lines (38 loc) · 1.37 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
[package]
name = "bedrockrs"
version = "0.1.0"
edition = "2021"
[workspace]
members = ["crates/*"]
[dependencies]
bedrockrs_core = { path = "crates/core" }
bedrockrs_shared = { path = "crates/shared" }
bedrockrs_macros = { path = "crates/macros", optional = true }
bedrockrs_addon = { path = "crates/addon", optional = true }
bedrockrs_form = { path = "crates/form", optional = true }
bedrockrs_proto = { path = "crates/proto", optional = true }
bedrockrs_proto_core = { path = "crates/proto_core", optional = true }
bedrockrs_server = { path = "crates/server", optional = true }
bedrockrs_level = {path = "crates/level", optional = true}
[dev-dependencies]
tokio = { version = "1.40", features = ["full"] }
nbtx = { git = "https://github.com/bedrock-crustaceans/nbtx" }
uuid = { version = "1.11.0", features = ["v4"] }
fern = { version = "0.7", features = ["colored"] }
log = "0.4"
chrono = "0.4"
[features]
addon = ["dep:bedrockrs_addon"]
proto = ["dep:bedrockrs_proto","dep:bedrockrs_proto_core","dep:bedrockrs_macros",]
level = ["dep:bedrockrs_level"]
full = ["addon", "level", "proto", "server"]
form = ["dep:bedrockrs_form"]
server = ["dep:bedrockrs_server", "proto", "level", "form"]
[[example]]
name = "proto_server"
path = "examples/proto/server.rs"
required-features = ["proto"]
[[example]]
name = "proto_parsing"
path = "examples/proto_parsing.rs"
required-features = ["proto"]