Commit graph

2 commits

Author SHA1 Message Date
5262a266c0
♻️ ci, nix, rust: Set up CI and switch to rust-overlay toolchain
- Added `.github/workflows/test.yaml` to run `cargo test` on push and pull_request events.
- Replaced `fenix` with `rust-overlay` in flake inputs for Rust toolchain management.
- Added `rust-toolchain.toml` specifying stable Rust with required components and targets.
- Updated `flake.nix` to use `rust-bin.fromRustupToolchainFile` and removed `RUST_SRC_PATH`.
2025-08-12 17:01:33 +03:00
45a68865b6
♻️🍱💩👷 crates/vanth, project: Refactor entity system and setup; migrate to Nix flakes
- Add `.cargo/config.toml` with target directory and rustflags configuration.
- Remove devenv files and set up Nix flake configuration with `flake.nix` and `flake.lock`.
- Add dependencies on `blake3`, `digest`, and hashing-related crates for content hashing functionality.
- Implement `EntityId` as hashed representation and `ContentHash` component using Blake3.
- Add `hashing_serializer` module for serializing and hashing components.
- Remove unused `parser` module and restructure lib.rs with new `Reference` type and storage interfaces.
- Add test files for `store` and `reference` functionality with TODOs for implementation.
- Introduce `VanthPlugin` skeleton and entity save/load interfaces with placeholder implementations.
- Add `Reference` type with retrieval state machine and async handling stubs.
2025-08-04 21:03:15 +03:00