[package]
edition = "2024"
name = "codex-app-server-sdk"
version = "0.5.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tokio Rust SDK for Codex App Server"
homepage = "https://github.com/thehumanworks/codex-sdk-rs"
documentation = "https://docs.rs/codex-app-server-sdk"
readme = "README.md"
keywords = [
"codex",
"openai",
"json-rpc",
"sdk",
]
categories = [
"api-bindings",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/thehumanworks/codex-sdk-rs"
[lib]
name = "codex_app_server_sdk"
path = "src/lib.rs"
[[example]]
name = "auth_api_key"
path = "examples/auth_api_key.rs"
[[example]]
name = "high_level_output_schema"
path = "examples/high_level_output_schema.rs"
[[example]]
name = "high_level_resume"
path = "examples/high_level_resume.rs"
[[example]]
name = "high_level_run"
path = "examples/high_level_run.rs"
[[example]]
name = "high_level_streamed"
path = "examples/high_level_streamed.rs"
[[example]]
name = "raw_fallback"
path = "examples/raw_fallback.rs"
[[example]]
name = "turn_start_stream"
path = "examples/turn_start_stream.rs"
[[example]]
name = "web_search_agent"
path = "examples/web_search_agent.rs"
[[example]]
name = "ws_persistent"
path = "examples/ws_persistent.rs"
[[test]]
name = "integration_api_stdio"
path = "tests/integration_api_stdio.rs"
[[test]]
name = "integration_stdio"
path = "tests/integration_stdio.rs"
[[test]]
name = "integration_ws"
path = "tests/integration_ws.rs"
[[test]]
name = "protocol_roundtrip"
path = "tests/protocol_roundtrip.rs"
[[test]]
name = "schema_reexport"
path = "tests/schema_reexport.rs"
[dependencies.codex-app-server-sdk-macros]
version = "0.1.1"
[dependencies.futures-util]
version = "0.3"
[dependencies.rustls]
version = "0.23"
features = [
"std",
"ring",
]
default-features = false
[dependencies.schemars]
version = "1"
features = ["derive"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"process",
"io-util",
"sync",
"time",
]
[dependencies.tokio-tungstenite]
version = "0.28"
features = ["rustls-tls-native-roots"]
[dependencies.url]
version = "2"
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.rcgen]
version = "0.13"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"net",
"time",
]
[dev-dependencies.tokio-rustls]
version = "0.26"