- Updated `Cargo.toml` and `Cargo.lock` to downgrade `rand_core` to 0.6.4 and add `rand_chacha` dependency with `serde1` feature. - Implemented `Rng` struct wrapping `ChaCha8Rng` with seed initialization, stream selection, and number generation methods. - Added `rng_new`, `rng_from_seed`, `rng_set_stream`, `rng_next_u32`, `rng_next_u64`, `rng_fill_bytes`, `rng_gen_f32`, and `rng_gen_gaussian` functions. - Made `value` field in `Score` and `values` field in `OptimizationResult` public. - Implemented `Distribution::sample` method that generates Gaussian numbers when moments are available. - Added `From<f32>` implementation for `Score`. - Implemented `optimize` function that evaluates candidates using cloned RNG streams and returns sorted results. - Added integration test `test_optimize` that verifies optimization sorting behavior.
25 lines
654 B
TOML
25 lines
654 B
TOML
[workspace]
|
|
members = ["crates/*"]
|
|
resolver = "3"
|
|
|
|
[workspace.package]
|
|
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"
|
|
bincode = "2.0.1"
|
|
serde = { version = "1.0.219", features = ["derive"] }
|
|
serde_json = "1.0.140"
|
|
digest = "0.10.7"
|
|
blake3 = { version = "1.8.2", features = ["traits-preview"] }
|
|
quote = "1.0"
|
|
syn = { version = "2.0", features = ["full"] }
|
|
proc-macro2 = "1.0"
|
|
sqlx = "0.8.6"
|
|
rusqlite = { version = "0.32.1", features = ["bundled"] }
|
|
tempfile = "3.12.0"
|
|
rand_core = "0.6.4"
|
|
rand_chacha = { version = "0.3.1", features = ["serde1"] }
|