✨➕♻️💩 cli, vanth, Cargo.toml, Cargo.lock: Add CLI framework and refactor vanth crate structure
- Added a new `vanth_cli` crate with `clap` command structure for `vanth fs open/save` commands. - Removed `main.rs` from `vanth` crate as it is now a library without a binary target. - Added `fs.rs` module and new structs `HashedValue`, `Value`, `Ty` with `Vanth` trait to support serialization. - Updated `Cargo.toml` to include `clap` as a workspace dependency and added `vanth_cli` as a new crate. - Added multiple dependencies (`anstream`, `anstyle`, `clap`, `heck`, etc.) in `Cargo.lock` to support the CLI. - Created placeholder test files `tests/fs/mod.rs` and `tests/main.rs` in `vanth` crate for future use. - Marked CLI command implementations with TODOs as functionality is not yet implemented.
This commit is contained in:
parent
45a68865b6
commit
8b76fcb659
10 changed files with 218 additions and 15 deletions
|
@ -7,6 +7,7 @@ version = "0.1.0"
|
|||
edition = "2024"
|
||||
|
||||
[workspace.dependencies]
|
||||
clap = { version = "4.5.42", features = ["derive"] }
|
||||
bevy_app = "0.16.1"
|
||||
bevy_ecs = "0.16.1"
|
||||
bitcode = "0.6.6"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue