[package]
edition = "2024"
rust-version = "1.95"
name = "talos-plugin"
version = "0.9.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lifecycle hooks and plugin foundations for Talos"
homepage = "https://github.com/wjhuang88/talos"
readme = false
license = "Apache-2.0"
repository = "https://github.com/wjhuang88/talos"
[features]
code-intelligence = ["talos-text/code-intelligence"]
wasm = ["dep:wasmtime"]
[lib]
name = "talos_plugin"
path = "src/lib.rs"
[[test]]
name = "dispatch_order"
path = "tests/dispatch_order.rs"
[[test]]
name = "i255_lifecycle"
path = "tests/i255_lifecycle.rs"
[[test]]
name = "permission_boundary"
path = "tests/permission_boundary.rs"
[[test]]
name = "timeout_and_panic"
path = "tests/timeout_and_panic.rs"
[dependencies.async-trait]
version = "0.1.92"
[dependencies.futures-util]
version = "0.3.34"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.151"
[dependencies.sha2]
version = "0.10"
[dependencies.talos-core]
version = "0.9.2"
[dependencies.talos-permission]
version = "0.9.2"
[dependencies.talos-text]
version = "0.9.2"
features = ["wasm-provider"]
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["time"]
[dependencies.toml]
version = "1.1.5"
[dependencies.tracing]
version = "0.1"
[dependencies.wasmtime]
version = "48.0.1"
features = [
"cranelift",
"runtime",
"parallel-compilation",
"wat",
]
optional = true
default-features = false
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"time",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["fmt"]
[lints.clippy]
unwrap_used = "warn"