[package]
edition = "2024"
rust-version = "1.98"
name = "ocserve-http"
version = "0.3.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "axum router, auth, byte-golden SSE, error envelope"
homepage = "https://github.com/Reliary/ocserve"
readme = "README.md"
keywords = [
"opencode",
"server",
"sqlite",
"sse",
"api",
]
categories = [
"web-programming::http-server",
"database-implementations",
"development-tools",
]
license = "MIT"
repository = "https://github.com/Reliary/ocserve"
resolver = "2"
[lib]
name = "ocserve_http"
path = "src/lib.rs"
[[test]]
name = "admin"
path = "tests/admin.rs"
[[test]]
name = "auth_metrics"
path = "tests/auth_metrics.rs"
[[test]]
name = "autonomy"
path = "tests/autonomy.rs"
[[test]]
name = "compacted_history"
path = "tests/compacted_history.rs"
[[test]]
name = "compaction_e2e"
path = "tests/compaction_e2e.rs"
[[test]]
name = "compat_batch"
path = "tests/compat_batch.rs"
[[test]]
name = "config_patch"
path = "tests/config_patch.rs"
[[test]]
name = "config_watch"
path = "tests/config_watch.rs"
[[test]]
name = "field_contract"
path = "tests/field_contract.rs"
[[test]]
name = "fork"
path = "tests/fork.rs"
[[test]]
name = "golden"
path = "tests/golden.rs"
[[test]]
name = "hooks"
path = "tests/hooks.rs"
[[test]]
name = "loop_guard_e2e"
path = "tests/loop_guard_e2e.rs"
[[test]]
name = "page_memo"
path = "tests/page_memo.rs"
[[test]]
name = "paging"
path = "tests/paging.rs"
[[test]]
name = "pty"
path = "tests/pty.rs"
[[test]]
name = "revert"
path = "tests/revert.rs"
[[test]]
name = "search"
path = "tests/search.rs"
[[test]]
name = "session_directory"
path = "tests/session_directory.rs"
[[test]]
name = "snapshot_capture"
path = "tests/snapshot_capture.rs"
[[test]]
name = "stall"
path = "tests/stall.rs"
[[test]]
name = "stall_gateway"
path = "tests/stall_gateway.rs"
[[test]]
name = "stall_gateway_data"
path = "tests/stall_gateway_data.rs"
[[test]]
name = "stream_delta"
path = "tests/stream_delta.rs"
[[test]]
name = "summarize"
path = "tests/summarize.rs"
[[test]]
name = "sync"
path = "tests/sync.rs"
[[test]]
name = "token_accounting"
path = "tests/token_accounting.rs"
[[test]]
name = "trim_contract"
path = "tests/trim_contract.rs"
[[test]]
name = "tui"
path = "tests/tui.rs"
[[test]]
name = "v2_body_parity"
path = "tests/v2_body_parity.rs"
[[test]]
name = "v2_surface"
path = "tests/v2_surface.rs"
[[test]]
name = "vcs_apply"
path = "tests/vcs_apply.rs"
[[test]]
name = "webui_perf"
path = "tests/webui_perf.rs"
[[test]]
name = "wire_hardening"
path = "tests/wire_hardening.rs"
[dependencies.anyhow]
version = "1"
[dependencies.axum]
version = "0.8"
features = [
"json",
"ws",
]
[dependencies.base64]
version = "0.22"
[dependencies.brotli]
version = "8"
[dependencies.bytes]
version = "1"
[dependencies.flate2]
version = "1"
[dependencies.futures-util]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.libc]
version = "0.2"
[dependencies.metrics]
version = "0.24"
[dependencies.ocserve-core]
version = "0.3.1"
[dependencies.ocserve-llm]
version = "0.3.1"
[dependencies.ocserve-mcp]
version = "0.3.1"
[dependencies.ocserve-metrics]
version = "0.3.1"
[dependencies.ocserve-plugin]
version = "0.3.1"
[dependencies.ocserve-pty]
version = "0.3.1"
[dependencies.ocserve-store]
version = "0.3.1"
[dependencies.ocserve-tools]
version = "0.3.1"
[dependencies.parking_lot]
version = "0.12"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"stream",
"rustls-tls",
]
default-features = false
[dependencies.rusqlite]
version = "0.40"
features = [
"bundled",
"blob",
"column_decltype",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"signal",
"sync",
"time",
"fs",
"io-util",
"net",
]
[dependencies.tower]
version = "0.5"
[dependencies.tower-http]
version = "0.6"
features = [
"trace",
"cors",
]
[dependencies.tracing]
version = "0.1"
[dependencies.zstd]
version = "0.13"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.reqwest]
version = "0.12"
features = [
"json",
"stream",
]
default-features = false
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"signal",
"sync",
"time",
"fs",
"io-util",
"net",
"test-util",
]
[dev-dependencies.tower]
version = "0.5"
features = ["util"]