Cargo Features

[dependencies]
rlifesrc-lib = { version = "0.6.1", default-features = false, features = ["js", "read-rle"] }
default = serde

The serde feature is set by default whenever rlifesrc-lib is added without default-features = false somewhere in the dependency tree.

js

Supports choosing random state for wasm32-unknown-unknown target. See https://docs.rs/getrandom/*/getrandom/index.html#webassembly-support

Enables js of getrandom

read-rle = ca-formats, serde

Supports reading RLE as known cells.

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.

ca-formats read-rle?
serde default read-rle?

Affects rlifesrc-lib::save, search::Algorithm.deser_reason