foreman
pub fn num_jobs() -> Result<u32>
Get the top-level parallelism number (e.g. for passing to make -jN)
make -jN