The crate declared rand 0.10 but rand_distr 0.4, which transitively depends on rand 0.8. StdRng from 0.10 therefore did not satisfy rand_distr's Rng bound and the lib failed to compile — five E0277s across classifier.rs, matrix_factorization.rs and bandit.rs. Nothing in the tree depends on eoc-route-learned, so the rot went unnoticed: the router trainer has not compiled in some time. Bump rand_distr to 0.6, which tracks rand 0.10. Normal and Beta are the only distributions used and both carry over unchanged. Tests pass. Co-Authored-By: Claude Opus 4.8 <[email protected]>
29 lines
1 KiB
TOML
29 lines
1 KiB
TOML
[package]
|
|
name = "eoc-route-learned"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
authors.workspace = true
|
|
description = "EOC learned router — matrix-factorisation, classifier and bandit primitives that predict the best cascade stage from a query embedding."
|
|
|
|
[dependencies]
|
|
eoc-core.workspace = true
|
|
eoc-cascade.workspace = true
|
|
eoc-cache.workspace = true
|
|
serde.workspace = true
|
|
serde_json = "1"
|
|
async-trait.workspace = true
|
|
thiserror.workspace = true
|
|
rand = { version = "0.10", default-features = false, features = ["std", "std_rng"] }
|
|
rand_distr = { version = "0.6", default-features = false }
|
|
nalgebra = { version = "0.33", default-features = false, features = ["std", "serde-serialize"] }
|
|
tracing = "0.1"
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1", default-features = false, features = ["macros", "rt-multi-thread", "test-util"] }
|
|
eoc-cache.workspace = true
|
|
eoc-kv.workspace = true
|
|
eoc-graph.workspace = true
|
|
eoc-neural.workspace = true
|