✨ Refactor: Convert project to a Bevy-based workspace and node
This commit refactors the Vanth project to utilize a `Cargo.toml` workspace, encapsulating the core logic within a `vanth` library crate. The existing `src` files are moved into the new `vanth/src` directory. The primary change is the integration of the Bevy game engine as the underlying framework for the Vanth node, shifting from the previous `whirlwind` dependency. This transition is reflected in `Cargo.toml` updates, adding `bevy_app` and `bevy_ecs` as dependencies and removing `whirlwind`. A new test file `vanth/tests/test_node.rs` is introduced to cover the initial functionality of the `Node` struct. The `LICENSE` year range is also updated. This refactoring sets the stage for Vanth's evolution into a distributed ECS-based database model, leveraging Bevy's robust ECS capabilities.
This commit is contained in:
parent
49dd1096c4
commit
81d454b256
12 changed files with 963 additions and 578 deletions
11
Cargo.toml
11
Cargo.toml
|
@ -1,7 +1,6 @@
|
|||
[package]
|
||||
name = "vanth"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
[workspace]
|
||||
members = ["vanth"]
|
||||
|
||||
[dependencies]
|
||||
whirlwind = "0.1.1"
|
||||
[workspace.dependencies]
|
||||
bevy_app = "0.16.1"
|
||||
bevy_ecs = "0.16.1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue