talos-plugin 0.10.0

Lifecycle hooks and plugin foundations for Talos
Documentation
# 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 = "2024"
rust-version = "1.95"
name = "talos-plugin"
version = "0.10.0"
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 = "README.md"
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"

[[example]]
name = "verify_installed_languages"
path = "examples/verify_installed_languages.rs"
required-features = [
    "wasm",
    "code-intelligence",
]

[[example]]
name = "verify_language_guests"
path = "examples/verify_language_guests.rs"
required-features = ["wasm"]

[[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.10.0"

[dependencies.talos-permission]
version = "0.10.0"

[dependencies.talos-text]
version = "0.10.0"
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"