Cargo Features

[dependencies]
edict = { version = "1.0.0-rc6", default-features = false, features = ["flow", "scheduler", "std", "rayon", "alkahest", "nanoserde", "serde"] }
flow default

Enables support for async executor with ECS access Without "std" it requires extern "C" functions provided, see nostd module

Affects edict::flow, nostd::flow

scheduler default

Enables built-in scheduler Without "std" it requires extern "C" functions provided, see nostd module

Affects edict::scheduler, nostd::scheduler

default = flow, scheduler, std

These default features are set whenever edict is added without default-features = false somewhere in the dependency tree.

std default rayon?

Enables parking_lot, std of optional alkahest and std of optional serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

rayon = std

Enables rayon

Features from optional dependencies

alkahest implicit feature

Enables alkahest

alkahest:

Fantastic serialization library with zero-overhead serialization and zero-copy deserialization

Affects dump::alkahest

nanoserde implicit feature

Affects dump::nanoserde

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

Affects dump::serde