Commit graph

6 commits

Author SHA1 Message Date
3b193c5aa3
♻️ bevy_vanth, vanth, vanth_derive, flake: Add Bevy integration crate and refactor entity/networking
- Created new crate `bevy_vanth` with basic plugin structure for Bevy integration.
- Refactored `Id` generation in `vanth` to use `OsRng` and removed redundant `to_u128_pair`/`from_u128_pair` methods.
- Moved networking functionality into new `net` module with `Node`, `Packet`, and `Message` types.
- Updated `vanth_derive` to use `proc-macro-crate` for reliable crate path resolution.
- Added `rand` dependency to replace custom ID generation logic.
- Updated `Cargo.toml`/`Cargo.lock` with new dependencies: `bevy_app`, `nix`, `cfg_aliases`, `proc-macro-crate`.
- Modified `README.md` with improved project description.
- Added commented clippy check in `flake.nix`.
2025-08-17 11:56:34 +03:00
b927702ee2
📝 README.md, varo: Fix documentation errors and add new README
- Corrected `Data::<ty()` to `Data::ty()` and added quotes around the example string in main README.
- Changed "derivation" to "derive macro" in the main README explanation.
- Updated all Nix run commands to use full `git+https` URLs with `.git` extension.
- Created a new README for the `varo` crate describing its planned purpose.
2025-08-11 13:23:16 +03:00
ff57ee8deb
📝 cli, vanth, meta, flake: Simplify dependencies, add meta crate, and improve docs
- Removed dependencies `sqlx` and `bevy_app` to simplify the project.
- Added new crate `vanth_meta` for generating example SVGs.
- Updated CLI tests to use `assert_cmd` for better test assertions.
- Enhanced README with comprehensive library and CLI usage documentation.
- Modified `Store::write` in `vanth` crate to return the content hash.
- Set `checkPhase` to empty in Nix flake configuration.
2025-08-11 12:59:29 +03:00
ccad41ab9e
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.
2025-07-12 22:59:41 +03:00
5bd3a07a61
Add object override idea 2024-11-14 23:41:13 +00:00
f7d089e64d
Init commit 2024-11-14 23:24:15 +00:00