Cargo Features

Tealr_derive has no features set by default.

[dependencies]
tealr_derive = { version = "0.10.0", features = ["compile", "derive", "embed_compiler_from_download", "embed_compiler_from_local", "debug_macros"] }
compile = tempfile

Affects tealr_derive::compile_inline_teal

derive

Affects tealr_derive::mlua_user_data_derive, tealr_derive::type_representation_derive, tealr_derive::mlua_teal_derive, tealr_derive::mlua_from_to_lua

embed_compiler_from_download = syn, tempfile, ureq, zip

Affects embed_compiler::download_compiler, embed_compiler::load_from_disk, tealr_derive::embed_compiler

embed_compiler_from_local = syn, tempfile, zip

Affects embed_compiler::download_compiler_mock, embed_compiler::load_from_disk, tealr_derive::embed_compiler

debug_macros

uses an ugly hack to aid debugging macros. Probably best to leave this off unless you know what you are doing most likely doesn't work on Windows

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.

syn embed_compiler_from_download? embed_compiler_from_local?
tempfile compile? embed_compiler_from_download? embed_compiler_from_local?
ureq embed_compiler_from_download?
zip embed_compiler_from_download? embed_compiler_from_local?