Skip to content

Commit

Permalink
move the registry crate to core
Browse files Browse the repository at this point in the history
  • Loading branch information
JieningYu committed May 15, 2024
1 parent a3d8add commit 6745098
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion crates/core/block-entity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ maintenance = { status = "passively-maintained" }

[dependencies]
rimecraft-global-cx = { path = "../global-cx" }
rimecraft-registry = { path = "../../util/registry" }
rimecraft-registry = { path = "../registry" }
rimecraft-block = { path = "../block" }
rimecraft-voxel-math = { path = "../../util/voxel-math" }
rimecraft-downcast = { path = "../../util/downcast" }
Expand Down
2 changes: 1 addition & 1 deletion crates/core/block/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ maintenance = { status = "passively-maintained" }

[dependencies]
rimecraft-global-cx = { path = "../global-cx" }
rimecraft-registry = { path = "../../util/registry" }
rimecraft-registry = { path = "../registry" }
rimecraft-state = { path = "../state" }
rimecraft-voxel-math = { path = "../../util/voxel-math" }

Expand Down
2 changes: 1 addition & 1 deletion crates/core/component/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ erased-serde = "0.4"
bytes = "1.6"
ahash = "0.8"
rimecraft-edcode = { path = "../../util/edcode" }
rimecraft-registry = { path = "../../util/registry", features = ["serde"] }
rimecraft-registry = { path = "../registry", features = ["serde"] }
rimecraft-global-cx = { path = "../global-cx", features = ["nbt", "std"] }
rimecraft-maybe = { path = "../../util/maybe" }

Expand Down
2 changes: 1 addition & 1 deletion crates/core/fluid/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ maintenance = { status = "passively-maintained" }

[dependencies]
rimecraft-global-cx = { path = "../global-cx" }
rimecraft-registry = { path = "../../util/registry" }
rimecraft-registry = { path = "../registry" }
rimecraft-state = { path = "../state" }
rimecraft-maybe = { path = "../../util/maybe" }
rimecraft-block = { path = "../block" }
Expand Down
2 changes: 1 addition & 1 deletion crates/core/item/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ maintenance = { status = "passively-maintained" }

[dependencies]
rimecraft-global-cx = { path = "../global-cx", features = ["nbt"] }
rimecraft-registry = { path = "../../util/registry" }
rimecraft-registry = { path = "../registry" }
rimecraft-fmt = { path = "../../util/fmt" }
serde = { version = "1.0", optional = true }
rimecraft-edcode = { path = "../../util/edcode", optional = true }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ maintenance = { status = "passively-maintained" }
[dependencies]
parking_lot = "0.12"
serde = { version = "1.0", optional = true }
rimecraft-edcode = { path = "../edcode", optional = true }
rimecraft-identifier = { path = "../identifier", optional = true, features = [
rimecraft-edcode = { path = "../../util/edcode", optional = true }
rimecraft-identifier = { path = "../../util/identifier", optional = true, features = [
"vanilla",
] }

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion crates/core/world/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ maintenance = { status = "passively-maintained" }
# Rimecraft crates
rimecraft-global-cx = { path = "../global-cx", features = ["nbt"] }
rimecraft-chunk-palette = { path = "../palette" }
rimecraft-registry = { path = "../../util/registry", features = ["serde"] }
rimecraft-registry = { path = "../registry", features = ["serde"] }
rimecraft-state = { path = "../state" }
rimecraft-block = { path = "../block" }
rimecraft-fluid = { path = "../fluid" }
Expand Down

0 comments on commit 6745098

Please sign in to comment.