forked from mine-rs/mine-rs
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
48 lines (45 loc) · 1.71 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
[package]
name = "miners"
version = "0.0.0-beta.0"
edition = "2021"
license = "MIT OR Apache-2.0"
[features]
default = ["net", "protocol", "version"]
net = ["dep:miners-net"]
auth = ["dep:miners-auth"]
chat = ["dep:miners-chat"]
protocol = ["dep:miners-protocol", "packet", "to_static_derive", "encoding_derive", "nbt"]
packet = ["dep:miners-packet"]
nbt = ["dep:miners-nbt"]
encoding_derive = ["dep:miners-encoding-derive", "encoding"]
encoding = ["dep:miners-encoding"]
to_static_derive = ["dep:miners-to-static-derive", "to_static"]
to_static = ["dep:miners-to-static", "miners-nbt?/to_static"]
version = ["dep:miners-version"]
[dependencies]
miners-net = { path = "net", version = "0.0.0-beta.0", optional = true }
miners-auth = { path = "auth", version = "0.0.0-beta.0", optional = true }
miners-chat = { path = "chat", version = "0.0.0-beta.0", optional = true }
miners-protocol = { path = "protocol", version = "0.0.0-beta.0", optional = true }
miners-packet = { path = "packet", version = "0.0.0-beta.0", optional = true }
miners-nbt = { path = "nbt", version = "0.0.0-beta.0", optional = true }
miners-encoding-derive = { path = "encoding/derive", version = "0.0.0-beta.0", optional = true }
miners-encoding = { path = "encoding", version = "0.0.0-beta.0", optional = true }
miners-to-static-derive = { path = "to_static/derive", version = "0.0.0-beta.0", optional = true }
miners-to-static = { path = "to_static", version = "0.0.0-beta.0", optional = true }
miners-version = { path = "version", version = "0.0.0-beta.0", optional = true }
[workspace]
members = [
"encoding",
"encoding/derive",
"packet",
"protocol",
"protocol/derive",
"net",
"nbt",
"auth",
"chat",
"to_static",
"to_static/derive",
"version",
]