Cargo Features

[dependencies]
tachyonfx = { version = "0.20.1", default-features = false, features = ["std", "crossterm", "dsl", "sendable", "std-duration", "wasm", "web-time"] }
default = crossterm, dsl, std

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

std default crossterm std-duration?

"ratatui/std" once 0.30 is released

Enables std of bon, compact_str, and thiserror

Affects fx::dispatch_event

crossterm default = std

Enables crossterm of ratatui

ratatui:

Generally an application will only use one backend, so you should only enable one of the following features: enables the CrosstermBackend backend and adds a dependency on crossterm.

dsl default

Enables anpa

Affects tachyonfx::dsl, shader::Shader.to_dsl

sendable
std-duration = std

Affects duration::Duration

wasm web-time?

Enables web-time

web-time = wasm

deprecated: use wasm instead