mirror of
https://github.com/openai/codex.git
synced 2026-09-05 15:18:41 +00:00
31 lines
929 B
TOML
31 lines
929 B
TOML
[package]
|
|
name = "codex-code-mode-host"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[[bin]]
|
|
name = "codex-code-mode-host"
|
|
path = "src/main.rs"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
codex-code-mode = { workspace = true }
|
|
codex-code-mode-protocol = { workspace = true }
|
|
tokio = { workspace = true, features = ["io-std", "io-util", "macros", "rt-multi-thread", "sync"] }
|
|
tokio-util = { workspace = true, features = ["rt"] }
|
|
# The host owns V8 process configuration, so enable the sandbox without an
|
|
# internal workspace-crate feature gate.
|
|
v8 = { workspace = true, features = ["v8_enable_sandbox"] }
|
|
|
|
[dev-dependencies]
|
|
codex-utils-cargo-bin = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|
|
|
|
[package.metadata.cargo-shear]
|
|
# This direct dependency intentionally selects the V8 sandbox feature for the
|
|
# host without activating an internal workspace-crate feature.
|
|
ignored = ["v8"]
|