mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-26 23:28:43 +00:00
Add packages/cli-rs, an OpenCode client written in Rust on OpenTUI's Rust crates. It is a client only.
41 lines
1.1 KiB
TOML
41 lines
1.1 KiB
TOML
[package]
|
|
name = "opencode-plugin"
|
|
description = "Plugin loaders and host runtime for the native TUI."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
opentui.workspace = true
|
|
opencode-ui.workspace = true
|
|
log.workspace = true
|
|
opencode-plugin-abi.workspace = true
|
|
opencode-util.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
unicode-segmentation = "1"
|
|
unicode-width.workspace = true
|
|
opencode-api-types.workspace = true
|
|
url.workspace = true
|
|
ring.workspace = true
|
|
mlua = { workspace = true, optional = true }
|
|
|
|
[features]
|
|
# Disable the JS host at runtime with `OPENCODE_PLUGIN_JS=0`.
|
|
default = ["ts", "luau"]
|
|
ts = []
|
|
# Disable Luau at runtime with `OPENCODE_PLUGIN_LUAU=0`.
|
|
luau = ["dep:mlua"]
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
# Who owns the approvals file, and opening it without following a link.
|
|
libc.workspace = true
|
|
|
|
[dev-dependencies]
|
|
opencode-util.workspace = true
|
|
# The operations table test's Rust column (`client::probe`).
|
|
opencode-api-types = { workspace = true, features = ["probe"] }
|