mirror of
https://github.com/openai/codex.git
synced 2026-11-09 20:50:33 +00:00
99 lines
2.7 KiB
TOML
99 lines
2.7 KiB
TOML
[package]
|
|
name = "codex-rmcp-client"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
autobins = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
native-bin = []
|
|
|
|
[[bin]]
|
|
name = "rmcp_test_server"
|
|
path = "src/bin/rmcp_test_server.rs"
|
|
required-features = ["native-bin"]
|
|
|
|
[[bin]]
|
|
name = "test_stdio_server"
|
|
path = "src/bin/test_stdio_server.rs"
|
|
required-features = ["native-bin"]
|
|
|
|
[[bin]]
|
|
name = "test_streamable_http_server"
|
|
path = "src/bin/test_streamable_http_server.rs"
|
|
required-features = ["native-bin"]
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
codex-protocol = { workspace = true }
|
|
futures = { workspace = true, default-features = false, features = ["std"] }
|
|
schemars = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true, features = ["log"] }
|
|
|
|
[dev-dependencies]
|
|
codex-utils-cargo-bin = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|
|
serial_test = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
axum = { workspace = true, default-features = false, features = [
|
|
"http1",
|
|
"tokio",
|
|
] }
|
|
codex-client = { workspace = true }
|
|
codex-keyring-store = { workspace = true }
|
|
codex-utils-home-dir = { workspace = true }
|
|
codex-utils-pty = { workspace = true }
|
|
keyring = { workspace = true, features = ["crypto-rust"] }
|
|
oauth2 = "5"
|
|
reqwest = { version = "0.12", default-features = false, features = [
|
|
"json",
|
|
"stream",
|
|
"rustls-tls",
|
|
] }
|
|
rmcp = { workspace = true, default-features = false, features = [
|
|
"auth",
|
|
"base64",
|
|
"client",
|
|
"macros",
|
|
"schemars",
|
|
"server",
|
|
"transport-child-process",
|
|
"transport-streamable-http-client-reqwest",
|
|
"transport-streamable-http-server",
|
|
] }
|
|
sha2 = { workspace = true }
|
|
sse-stream = "0.2.1"
|
|
tiny_http = { workspace = true }
|
|
tokio = { workspace = true, features = [
|
|
"io-util",
|
|
"macros",
|
|
"process",
|
|
"rt-multi-thread",
|
|
"sync",
|
|
"io-std",
|
|
"time",
|
|
] }
|
|
urlencoding = { workspace = true }
|
|
webbrowser = { workspace = true }
|
|
which = { workspace = true }
|
|
|
|
[target.'cfg(all(not(target_arch = "wasm32"), target_os = "linux"))'.dependencies]
|
|
keyring = { workspace = true, features = ["linux-native-async-persistent"] }
|
|
|
|
[target.'cfg(all(not(target_arch = "wasm32"), target_os = "macos"))'.dependencies]
|
|
keyring = { workspace = true, features = ["apple-native"] }
|
|
|
|
[target.'cfg(all(not(target_arch = "wasm32"), target_os = "windows"))'.dependencies]
|
|
keyring = { workspace = true, features = ["windows-native"] }
|
|
|
|
[target.'cfg(all(not(target_arch = "wasm32"), any(target_os = "freebsd", target_os = "openbsd")))'.dependencies]
|
|
keyring = { workspace = true, features = ["sync-secret-service"] }
|