🧪💩 workspace, vanth, varo: Add varo crate and Root struct, update dependencies

- Replaced `bitcode` crate with `bincode` in workspace dependencies.
- Added new crate `varo` for random optimization with `Varo` trait, `Distribution`, and `optimize` function.
- Defined `Root` world struct placeholder in `vanth` crate.
- Created `reference.rs` test module in `vanth` with custom components and events.
- Added TODOs in `varo` for RNG implementation and `optimize` function.
This commit is contained in:
Markus Scully 2025-08-06 16:20:05 +03:00
parent a1cc9b6e04
commit 5614cfe95f
Signed by: mascully
GPG key ID: 93CA5814B698101C
7 changed files with 120 additions and 5 deletions

28
Cargo.lock generated
View file

@ -1373,7 +1373,7 @@ checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
dependencies = [
"libc",
"rand_chacha",
"rand_core",
"rand_core 0.6.4",
]
[[package]]
@ -1383,7 +1383,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
dependencies = [
"ppv-lite86",
"rand_core",
"rand_core 0.6.4",
]
[[package]]
@ -1395,6 +1395,12 @@ dependencies = [
"getrandom 0.2.16",
]
[[package]]
name = "rand_core"
version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
[[package]]
name = "redox_syscall"
version = "0.5.13"
@ -1417,7 +1423,7 @@ dependencies = [
"num-traits",
"pkcs1",
"pkcs8",
"rand_core",
"rand_core 0.6.4",
"signature",
"spki",
"subtle",
@ -1548,7 +1554,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de"
dependencies = [
"digest",
"rand_core",
"rand_core 0.6.4",
]
[[package]]
@ -2071,6 +2077,20 @@ dependencies = [
"syn",
]
[[package]]
name = "varo"
version = "0.1.0"
dependencies = [
"blake3",
"digest",
"rand_core 0.9.3",
"serde",
"serde_json",
"tempfile",
"vanth",
"vanth_derive",
]
[[package]]
name = "vcpkg"
version = "0.2.15"