Cargo Features
[dependencies]
rune = { version = "0.14.0", default-features = false, features = ["std", "alloc", "tracing", "emit", "workspace", "cli", "languageserver", "byte-code", "capture-io", "disable-io", "fmt", "bench", "doc"] }
- default = emit, std
-
These default features are set whenever
rune
is added without
somewhere in the dependency tree.default-features = false - std default cli? doc? emit languageserver? workspace? = alloc
-
Enables std of anyhow, musli ^0.0.124, num, once_cell, rune-alloc, rune-core, serde, and syntree
once_cell:
Enables
once_cell::sync
module.Affects
macro_context::test
… - alloc byte-code? capture-io? disable-io? fmt? std = anyhow
-
Enables alloc of once_cell, rune-alloc, rune-core, and serde
once_cell:
Enables
once_cell::race::OnceBox
type. - tracing
-
Enables enabled of rune-tracing
- emit default cli? = codespan-reporting, std
- workspace languageserver? = linked-hash-map, relative-path, semver, serde-hashkey, std, toml
-
Affects
rune::workspace
… - cli = bincode, capture-io, clap, disable-io, doc, emit, fmt, languageserver, rand, similar, std, tracing-subscriber, webbrowser
-
Affects
rune::cli
… - languageserver cli? = doc, fmt, lsp, percent-encoding, ropey, serde_json, std, tokio, url, workspace
-
Affects
rune::languageserver
… - byte-code = alloc
-
Enables storage of musli ^0.0.124
- capture-io cli? = alloc, parking_lot
-
Affects
modules::capture_io
… - disable-io cli? = alloc
-
Affects
modules::disable_io
… - fmt cli? languageserver? = alloc
-
Affects
rune::fmt
… - bench
- doc cli? languageserver? = base64, handlebars, pulldown-cmark, pulldown-cmark-escape, relative-path, rust-embed, sha2, std, syntect
-
Affects
function_meta::AssociatedName.parameter_types
…
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.
- anyhow alloc? std
- bincode cli?
-
Enables bincode ^1.3.3
- clap cli?
- codespan-reporting emit
-
Enables codespan-reporting ^0.11.1
- handlebars doc?
- pulldown-cmark doc?
-
Enables pulldown-cmark ^0.12.2
- pulldown-cmark-escape doc?
- relative-path doc? workspace?
- rust-embed doc?
-
Enables rust-embed ^6.8.1
- semver workspace?
- serde-hashkey workspace?
- syntect doc?
- tokio languageserver?
- toml workspace?
- tracing-subscriber cli?
- webbrowser cli?
- parking_lot capture-io?
- lsp languageserver?
-
Enables lsp-types ^0.95.0
- ropey languageserver?
- percent-encoding languageserver?
- url languageserver?
- serde_json languageserver?
- linked-hash-map workspace?
- similar cli?
- sha2 doc?
- base64 doc?
- rand cli?
-
Enables rand ^0.8.5