Cargo Features

mop-blocks has no features set by default.

[dependencies]
mop-blocks = { version = "0.5.0", features = ["std", "with-futures", "with-ndsparse", "with-rand", "with-serde"] }
std

Enables std of cl-traits, futures, mop-common, ndsparse, num-traits, rand ^0.7, and serde

rand:

Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.

with-futures = futures

Enables with-futures of mop-common

with-ndsparse = ndsparse
with-rand = rand

Enables with-rand of ndsparse

Affects domain::Domain.new_random_solution, domain::Domain.set_rnd_domain

with-serde = serde

Enables serde1 of rand ^0.7, with-serde of cl-traits and ndsparse

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

futures std? with-futures?
ndsparse std? with-ndsparse? with-rand? with-serde?
rand std? with-rand? with-serde?

Enables rand ^0.7

serde std? with-serde?