1# @ajax/mesh-manifest-needs
23What a program needs and prefers from the fleet scheduler: its manifest's `replicas`, `spread`, `prefer`, `avoid`, `arch`, `min_mem_mb`, `colocate_with`, `group*`, `priority`, `migrate` and the `cpu`/`mem_mb` reservations, as `mesh_needs`; placement terms (`cuda`, `host:NAME`, `system:K`, `arch:A`) with their parser.
45`Term::matches` needs the scheduler's member type, so it lives with the scheduler.
67## Ported from
89[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT): crates/mesh-host/src/sched.rs (`Replicas`, `Migrate`, `Term`, `Needs`).
1011## Tests
1213Through @ajax/mesh-manifest-encode's golden test (the Needs' Debug output is compared with the Rust's).
1415## Licence
1617MIT. See the repository's LICENSE.