[package]
edition = "2024"
rust-version = "1.89"
name = "pctx_code_execution_runtime"
version = "0.1.2"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JavaScript/TypeScript execution runtime for pctx"
readme = "README.md"
keywords = [
"javascript",
"typescript",
"runtime",
"pctx",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/portofcontext/pctx"
resolver = "2"
[lib]
name = "pctx_code_execution_runtime"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1"
[dependencies.deno_core]
version = "0.381"
features = ["include_icu_data"]
[dependencies.deno_error]
version = "0.7"
[dependencies.pctx_config]
version = "^0.1.2"
[dependencies.reqwest]
version = "0.13.1"
features = ["json"]
[dependencies.rmcp]
version = "0.14"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
[dev-dependencies.rustls]
version = "0.23"
features = ["ring"]
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"macros",
]
[build-dependencies.deno_core]
version = "0.381"
features = ["include_icu_data"]
[build-dependencies.deno_error]
version = "0.7"
[build-dependencies.pctx_config]
version = "^0.1.2"
[build-dependencies.rmcp]
version = "0.14"
[build-dependencies.serde]
version = "1"
features = ["derive"]
[build-dependencies.serde_json]
version = "1"
[build-dependencies.thiserror]
version = "2"
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
match_same_arms = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"
too_many_lines = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unreachable_pub = "warn"