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
tachyonfxis added withoutsomewhere in the dependency tree.default-features = false - 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
-
ratatui:
Generally an application will only use one backend, so you should only enable one of the following features: enables the
CrosstermBackendbackend and adds a dependency oncrossterm. - 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
wasminstead