# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "weave-writer" version = "0.0.3" description = "A tool for collaborative generative writing." readme = "README.md" license-file = "LICENSE.md" repository = "https://github.com/mdegans/weave" [package.metadata.bundle] category = "public.app-category.productivity" copyright = "2024, Michael de Gans" icon = [ "resources/icon.128.png", "resources/icon.128@2x.png", "resources/icon.256.png", "resources/icon.256@2x.png", "resources/icon.512.png", "resources/icon.512@2x.png", ] identifier = "dev.mdegans.weave" long_description = """ A tool for collaborative generative writing. It supports multiple generative backends such as OpenAI and LLaMA. Stories can branch, allowing for multiple paths through a story. It is designed to be used by writers, game developers, or anyone who needs to generate text. """ name = "Weave" resources = ["resources"] [package.metadata.docs.rs] features = ["gui"] [profile.release] lto = true panic = "abort" strip = true [dependencies.derivative] version = "2.2.0" [dependencies.derive_more] version = "0.99.17" [dependencies.drama_llama] version = "0.5" features = ["egui"] optional = true [dependencies.egui] version = "0.27" features = ["persistence"] optional = true [dependencies.egui_commonmark] version = "0.16" features = ["macros"] [dependencies.egui_extras] version = "0.27" features = ["all_loaders"] [dependencies.egui_file] version = "0.17.0" optional = true [dependencies.env_logger] version = "0.11" [dependencies.futures] version = "0.3" features = ["executor"] optional = true [dependencies.image] version = "0.24" features = ["png"] [dependencies.keyring] version = "2" optional = true [dependencies.log] version = "0.4" [dependencies.ollama-rs] version = "0.1.9" optional = true [dependencies.openai-rust] version = "1.5" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.static_assertions] version = "1.1" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1" optional = true [dependencies.uuid] version = "1.8" features = [ "v4", "fast-rng", ] [features] cuda = ["drama_llama/cuda"] cuda_f16 = ["drama_llama/cuda_f16"] default = [ "gui", "drama_llama", "openai", ] drama_llama = [ "generate", "dep:drama_llama", "drama_llama/serde", "drama_llama/cli", "dep:egui_file", ] generate = [] gui = [ "egui", "eframe", ] ollama = [ "generate", "dep:ollama-rs", ] openai = [ "generate", "dep:openai-rust", "dep:futures", "dep:keyring", "dep:tokio", "tokio/rt-multi-thread", ] [target."cfg(all(target_os = \"windows\", target_arch = \"aarch64\"))".dependencies.eframe] version = "0.27" features = ["persistence"] optional = true [target."cfg(not(all(target_os = \"windows\", target_arch = \"aarch64\")))".dependencies.eframe] version = "0.27" features = [ "persistence", "wgpu", ] optional = true