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 ^4.0, futures, mop-common, ndsparse ^0.7, 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 ^0.7

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 ^4.0 and ndsparse ^0.7

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?

Enables ndsparse ^0.7

rand std? with-rand? with-serde?

Enables rand ^0.7

serde std? with-serde?