Cargo Features
[dependencies]
weave-writer = { version = "0.0.3", default-features = false, features = ["generate", "cuda", "cuda_f16", "drama_llama", "openai", "ollama", "gui"] }
- default = drama_llama, gui, openai
-
These default features are set whenever
weave-writer
is added without
somewhere in the dependency tree.default-features = false - generate drama_llama ollama? openai
-
Affects
settings::GenerativeBackend
,settings::BackendOptions
,settings::Settings.selected_generative_backend
,settings::Settings.backend_options
… - cuda
-
Enables cuda of drama_llama
- cuda_f16
-
Enables cuda_f16 of drama_llama
- drama_llama default cuda? cuda_f16? = generate
-
Enables egui_file ^0.17.0, cli and serde of drama_llama
Affects
settings::Settings.loading_model
… - openai default = generate
-
Enables futures, keyring ^2, and openai-rust, rt-multi-thread of tokio
- ollama = generate
-
Enables ollama-rs ^0.1.9
- gui default = eframe, egui
-
TODO: Claude does not yet have a good rust library. Will have to use reqwests for the feature.
Affects
weave-writer::app
,node::Meta
,node::PositionalLayout
,node::Layout
,node::Action
,node::PathAction
,story::DrawMode
…
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.
- egui gui
-
Enables egui ^0.27
- eframe win arm64 not win not arm64 gui
-
Enables eframe ^0.27