Skip to content

Commit 5da3e02

Browse files
committed
fix(deps): switch from git to version deps for crates.io publishing
Dependencies now use version = "0.1.0-dev" instead of git URLs. Patch sections consolidated to [patch.crates-io] for local dev overrides. This allows cargo publish to succeed on crates.io.
1 parent f84675c commit 5da3e02

1 file changed

Lines changed: 12 additions & 39 deletions

File tree

Cargo.toml

Lines changed: 12 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ keywords = ["minecraft", "oxidized-mc"]
1212
categories = ["game-development"]
1313

1414
[dependencies]
15-
oxidized-mc-types = { git = "https://github.com/oxidized-mc/mc-types.git" }
16-
oxidized-registry = { git = "https://github.com/oxidized-mc/registry.git" }
15+
oxidized-mc-types = "0.1.0-dev"
16+
oxidized-registry = "0.1.0-dev"
1717
glam = "0.30"
1818
thiserror = "2"
1919

@@ -48,45 +48,18 @@ cast_possible_truncation = "allow"
4848
cast_sign_loss = "allow"
4949
cast_possible_wrap = "allow"
5050

51-
[patch."https://github.com/oxidized-mc/mc-types.git"]
52-
oxidized-mc-types = { path = "../mc-types" }
53-
54-
[patch."https://github.com/oxidized-mc/registry.git"]
55-
oxidized-registry = { path = "../registry" }
56-
57-
[patch."https://github.com/oxidized-mc/types.git"]
58-
oxidized-types = { path = "../types" }
59-
60-
[patch."https://github.com/oxidized-mc/nbt.git"]
61-
oxidized-nbt = { path = "../nbt" }
62-
63-
[patch."https://github.com/oxidized-mc/codec.git"]
64-
oxidized-codec = { path = "../codec" }
65-
66-
[patch."https://github.com/oxidized-mc/compression.git"]
67-
oxidized-compression = { path = "../compression" }
68-
69-
[patch."https://github.com/oxidized-mc/crypto.git"]
70-
oxidized-crypto = { path = "../crypto" }
71-
72-
[patch."https://github.com/oxidized-mc/auth.git"]
51+
[patch.crates-io]
52+
oxidized-anvil = { path = "../anvil" }
7353
oxidized-auth = { path = "../auth" }
74-
75-
[patch."https://github.com/oxidized-mc/chat.git"]
7654
oxidized-chat = { path = "../chat" }
77-
78-
[patch."https://github.com/oxidized-mc/transport.git"]
79-
oxidized-transport = { path = "../transport" }
80-
81-
[patch."https://github.com/oxidized-mc/chunks.git"]
8255
oxidized-chunks = { path = "../chunks" }
83-
84-
[patch."https://github.com/oxidized-mc/anvil.git"]
85-
oxidized-anvil = { path = "../anvil" }
86-
87-
[patch."https://github.com/oxidized-mc/commands.git"]
56+
oxidized-codec = { path = "../codec" }
8857
oxidized-commands = { path = "../commands" }
89-
90-
[patch."https://github.com/oxidized-mc/inventory.git"]
58+
oxidized-compression = { path = "../compression" }
59+
oxidized-crypto = { path = "../crypto" }
9160
oxidized-inventory = { path = "../inventory" }
92-
61+
oxidized-mc-types = { path = "../mc-types" }
62+
oxidized-nbt = { path = "../nbt" }
63+
oxidized-registry = { path = "../registry" }
64+
oxidized-transport = { path = "../transport" }
65+
oxidized-types = { path = "../types" }

0 commit comments

Comments
 (0)