39 lines
969 B
TOML
39 lines
969 B
TOML
[package]
|
|
name = "web-server"
|
|
version = "0.3.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
description = "IdeA headless HTTP/WebSocket driving adapter, reusable by desktop and server binaries."
|
|
|
|
[lib]
|
|
name = "web_server"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "idea-serve"
|
|
path = "src/bin/idea-serve.rs"
|
|
|
|
[dependencies]
|
|
backend = { workspace = true }
|
|
application = { workspace = true }
|
|
domain = { workspace = true }
|
|
tokio = { workspace = true, features = ["io-std", "rt", "net"] }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
uuid = { workspace = true }
|
|
base64 = "0.22"
|
|
bytes = "1.11"
|
|
cookie = "0.18"
|
|
getrandom = { workspace = true }
|
|
hex = { workspace = true }
|
|
http = "1.4"
|
|
http-body-util = "0.1"
|
|
sha2 = { workspace = true }
|
|
subtle = { workspace = true }
|
|
zip = { version = "2", default-features = false, features = ["deflate"] }
|
|
|
|
[features]
|
|
vector-http = ["backend/vector-http"]
|
|
vector-onnx = ["backend/vector-onnx"]
|