Skip to content

Unconditional use of optional rayon dependency #272

@NinoScript

Description

@NinoScript

There's code that unconditionally uses rayon even though it is an optional dependency.
This makes me unable to build cozo-lib-python, as it fails with this error message:

error[E0599]: no method named `par_iter` found for reference `&BTreeMap<MagicSymbol, CompiledRuleSet>` in the current scope
   --> cozo-core/src/query/eval.rs:200:26
    |
199 |                       let execs = prog
    |  _________________________________-
200 | |                         .par_iter()
    | |_________________________-^^^^^^^^
    |

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions