32 lines
830 B
TOML
32 lines
830 B
TOML
[package]
|
|
name = "studio_translate_ollama"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["Dr. Stefan Flemming <chain@flemming.ai>"]
|
|
license = "Apache-2.0"
|
|
publish = false
|
|
description = "F∆I Studio plugin — Ollama-backed translate hook"
|
|
repository = "https://git.flemming.ai/fai-plugins/studio-translate-ollama"
|
|
rust-version = "1.85"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
fai-plugin-sdk = { path = "../../fai_plugin_sdk_rust" }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
# WASI-0.2 HTTP client. Only compiled into the wasm32-wasip2
|
|
# target; the rlib used by host-side tests doesn't need it.
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
waki = "0.5"
|
|
|
|
[package.metadata.component]
|
|
package = "fai:studio-plugin"
|
|
|
|
[profile.release]
|
|
opt-level = "s"
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|