Cargo Features

[dependencies]
asciirend = { version = "0.3.1", default-features = false, features = ["std", "serde-all", "test-bin", "bindings", "scripting", "wasm", "global-state", "console_error_panic_hook", "wee_alloc"] }
default = serde-all, std

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

std default test-bin?
serde-all default bindings? = serde

Enables serde-serialize-no-std of nalgebra ^0.32

nalgebra:

Serialization To use serde in a #[no-std] environment, enable the serde-serialize-no-std feature instead of serde-serialize. Serialization of dynamically-sized matrices/vectors require serde-serialize.

test-bin = anyhow, crossterm, signal-hook, std
bindings wasm? = global-state, serde-all, serde_json

Affects extra::bindings

scripting = rhai

Affects global_state::Scene.script

wasm = bindings, wasm-bindgen
global-state bindings?

Affects extra::global_state

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.

serde serde-all
crossterm test-bin?

Enables crossterm ^0.27

anyhow test-bin?
signal-hook test-bin?
wasm-bindgen wasm?
console_error_panic_hook implicit feature

Enables console_error_panic_hook

console_error_panic_hook:

A panic hook for wasm32-unknown-unknown that logs panics to console.error

wee_alloc implicit feature

Enables wee_alloc

wee_alloc:

wee_alloc: The Wasm-Enabled, Elfin Allocator

serde_json bindings?
rhai scripting?