Cargo Features
[dependencies]
spaik = { version = "0.3.1", default-features = false, features = ["extra", "readline", "wasm", "math", "modules", "derive", "freeze", "no-threading"] }
- default = derive, extra, freeze, math, modules, readline
-
These default features are set whenever
spaik
is added without
somewhere in the dependency tree.default-features = false - extra default = comfy-table, owo-colors
- readline default = dirs, rustyline
-
Required by the repl binary
- wasm = wasm-bindgen
- math default = glam
- modules default = bincode
- derive default = spaik-proc-macros
- freeze default = bincode
-
Affects
nuke::Userdata
,subrs::Subr
… - no-threading
-
Affects
r8vm::OutStream
…
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.
- spaik-proc-macros derive
-
Enables spaik-proc-macros ^0.1.0
- bincode freeze modules
- comfy-table extra
-
Enables comfy-table ^5.0.0
- dirs readline
-
Enables dirs ^4.0.0
- rustyline readline
-
Enables rustyline ^6.2
- glam math
-
Enables glam ^0.21.3
- owo-colors extra
-
Enables owo-colors ^3.5.0
- wasm-bindgen build wasm?